NPCTypeInfo GetTypeInfo() { NPCTypeInfo typeInfo = new NPCTypeInfo(Element.none, Element.none, Element.none); if (DictionaryHelper.NPC(GetNPC()).ContainsKey(GetNPC().type)) { typeInfo = DictionaryHelper.NPC(GetNPC())[GetNPC().type]; } return(typeInfo); }
public ModifyTypeParameters(NPCTypeInfo typeInfo, NPC npc) { this.defaultTypes = new ThreeType(typeInfo.Primary, typeInfo.Secondary, typeInfo.Offensive); this.npc = npc; }
public ThreeType GetThreeType() { NPCTypeInfo info = GetTypeInfo(); return(new ThreeType(info.Primary, info.Secondary, info.Offensive)); }