public void AddXP(int num_of_people, int flag) { if (flag > 0) { XP.AddXP(num_of_people * XP_per_NPC, POWERTYPE.GOOD); } else { XP.AddXP(num_of_people * XP_per_NPC, POWERTYPE.EVIL); } }
public void AddXP(int num_of_people, int flag) { XP.AddXP(num_of_people * XP_per_NPC, PowerType); }