Help with Error - Cannot Convert

Help! I don’t know where the error came from…

(local variable) ProgressionCharacterClass progressionClass

Argument 1: cannot convert from ‘RPG.Stats.CharacterClass’ to ‘RPG.Stats.Progression.ProgressionCharacterClass’ [Assembly-CSharp]csharp(CS1503)

nevermind, i found the mistake.

i made a dictionary of the wrong type.

Supposed to be:

Dictionary<CharacterClass, Dictionary<Stats, float>> lookupTable = null;

but mine was

Dictionary<ProgressionCharacterClass, Dictionary<Stats, float>> lookupTable = null;

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms