public Item(String fname, Item_Type ftype, int fcost, Character.Stats.Traits fmod, OtherEffect fce) { effect = fce; cost = fcost; mod = fmod; name = fname; type = ftype; }
public Item(String fname, Item_Type ftype, int fcost, Character.Stats.Traits fmod) { effect = new OtherEffect(); effect.hp = 0; effect.mp = 0; cost = fcost; mod = fmod; name = fname; type = ftype; }