コード例 #1
0
 public Buff(int id, string name, string description, ItemType type, ItemTechnology technology, int value, int maxStark, string sprite, int buffID, int durationTime, string effectDescription, string[] effectProp, int[] effectValue) : base(id, name, description, type, technology, value, maxStark, sprite)
 {
     this.BuffID            = buffID;
     this.DurationTime      = durationTime;
     this.EffectDescription = effectDescription;
     this.EffectProp        = effectProp;
     this.EffectValue       = effectValue;
 }
コード例 #2
0
 public Skill(int id, string name, string description, ItemType type, ItemTechnology technology, int value, int maxStark, string sprite, int skillID, int maxPoint, string skillDescription, int[] preSkillID, int[] eachSkillNeed) : base(id, name, description, type, technology, value, maxStark, sprite)
 {
     this.SkillID          = skillID;
     this.MaxPoint         = maxPoint;
     this.SkillDescription = skillDescription;
     this.PreSkillID       = preSkillID;
     this.EachSkillNeed    = eachSkillNeed;
 }
コード例 #3
0
 public MeleeWeapon(int id, string name, string description, ItemType type, ItemTechnology technology, int value, int maxStark, string sprite, int meleeWeaponID, int meleeDamage, int throwDamage, float attackInterval, MeleeWeaponType mwType)
     : base(id, name, description, type, technology, value, maxStark, sprite)
 {
     this.MeleeWeaponID  = meleeWeaponID;
     this.MeleeDamage    = meleeDamage;
     this.ThrowDamage    = throwDamage;
     this.AttackInterval = attackInterval;
     this.MWType         = mwType;
 }
コード例 #4
0
 public Package(int id, string name, string description, ItemType type, ItemTechnology technology, int value, int maxStark, string sprite, bool isGetOne, int[] itemIDs, ItemType[] itemTypes, ItemTechnology[] itemTechnologies, int[] itemCount, float[] itemProbabilities)
     : base(id, name, description, type, technology, value, maxStark, sprite)
 {
     this.IsGetOne          = isGetOne;
     this.ItemIDs           = itemIDs;
     this.ItemTypes         = itemTypes;
     this.ItemTechnologies  = itemTechnologies;
     this.ItemCount         = itemCount;
     this.ItemProbabilities = itemProbabilities;
 }
コード例 #5
0
ファイル: Equipment.cs プロジェクト: Lock94/ProjectA
 public Equipment(int id, string name, string description, ItemType type, ItemTechnology technology, int value, int maxStark, string sprite, int equipmentID, EquipmentType equipmentType, int resistance, int constitution, int strength, int agility, int dexterous, int concentration) : base(id, name, description, type, technology, value, maxStark, sprite)
 {
     this.EquipmentID   = equipmentID;
     this.EquipType     = equipmentType;
     this.Resistance    = resistance;
     this.Constitution  = constitution;
     this.Strength      = strength;
     this.Agility       = agility;
     this.Dexterous     = dexterous;
     this.Concentration = concentration;
 }
コード例 #6
0
 public Item(int id, string name, string description, ItemType type, ItemTechnology technology, int value, int maxStark, string sprite)
 {
     this.ID          = id;
     this.Name        = name;
     this.Description = description;
     this.Type        = type;
     this.Technology  = technology;
     this.Value       = value;
     this.MaxStark    = maxStark;
     this.Sprite      = sprite;
 }
コード例 #7
0
 public ShootWeapon(int id, string name, string description, ItemType type, ItemTechnology technology, int value, int maxStark, string sprite, int shootWeaponID, int shootDamage, int meleeDamage, float attackInterval, float lashuanTime, float reloadTime, float damageRange, ShootWeaponType swType, AmmoType amType, int ammoCount, int accuracy)
     : base(id, name, description, type, technology, value, maxStark, sprite)
 {
     this.ShootWeaponID  = shootWeaponID;
     this.ShootDamage    = shootDamage;
     this.MeleeDamage    = meleeDamage;
     this.AttackInterval = attackInterval;
     this.LaShuanTime    = lashuanTime;
     this.ReloadTime     = reloadTime;
     this.DamageRange    = damageRange;
     this.SWType         = swType;
     this.AMType         = amType;
     this.AmmoCount      = ammoCount;
     this.Accuracy       = accuracy;
 }
コード例 #8
0
ファイル: Consumable.cs プロジェクト: Lock94/ProjectA
 public Consumable(int id, string name, string description, ItemType type, ItemTechnology technology, int value, int maxStark, string sprite, int hp, int eg, int hl,
                   int tempConstitution, int tempStrength, int tempAgility, int tempDexterous, int tempConcentration, int continuedTime, int buffID)
     : base(id, name, description, type, technology, value, maxStark, sprite)
 {
     this.HP = hp;
     this.EG = eg;
     this.HL = hl;
     this.TempConstitution  = tempConstitution;
     this.TempStrength      = TempStrength;
     this.TempAgility       = tempAgility;
     this.TempDexterous     = tempDexterous;
     this.TempConcentration = tempConcentration;
     this.ContinuedTime     = continuedTime;
     this.BuffID            = buffID;
 }
コード例 #9
0
ファイル: Ammo.cs プロジェクト: Lock94/ProjectA
 public Ammo(int id, string name, string description, ItemType type, ItemTechnology technology, int value, int maxStark, string sprite) : base(id, name, description, type, technology, value, maxStark, sprite)
 {
 }
コード例 #10
0
 public Blueprint(int id, string name, string description, ItemType type, ItemTechnology technology, int value, int maxStark, string sprite, int[] craftIDs)
     : base(id, name, description, type, technology, value, maxStark, sprite)
 {
     this.CraftIDs = craftIDs;
 }