示例#1
0
 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;
 }
示例#2
0
 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;
 }
示例#3
0
文件: ItemManager.cs 项目: Ryzeros/L-
 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);
 }
示例#4
0
 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);
 }