public ItemData(int id, ItemCastType type, float range, float speed, float castDelay) { item = new Item(id, range); this.CastDelay = castDelay; this.Speed = speed; this.CastType = type; }
public ItemData(int id, ItemCastType type, float range, float speed, float castDelay, params TargetingType[] targets) { this.item = new Item(id, range); this.CastDelay = castDelay; this.Speed = speed; this.CastType = type; this.TargetType = targets; }
public Item(int itemid, float range, ItemCastType type, int eneinrange = 1, int minioncount = 1) { this.type = type; this.eneinrangecount = eneinrange; item = new Items.Item(itemid, range); }