protected Ability(String name, int rank, int level, float baseMinDamage, float baseMaxDamage, float baseCost, Stats stats, Character character, CalculationOptionsWarlock options, Color color, MagicSchool magicSchool, SpellTree spellTree) { Name = name; Rank = rank; Level = level; BaseMinDamage = baseMinDamage; BaseMaxDamage = baseMaxDamage; BaseCost = baseCost; Stats = stats; Character = character; Options = options; GraphColor = color; MagicSchool = magicSchool; SpellTree = spellTree; //all properties default to zero, except for the following: BaseExecuteTime = 3; BaseGlobalCooldown = 1.5f; BaseDirectDamageMultiplier = 1; BaseCritMultiplier = 1.5f; BaseRange = 30; Harmful = true; Statistics = new Statistics(); }
public Melee(Stats stats, Character character, CalculationOptionsWarlock options, float baseMinDamage, float baseMaxDamage) : base("Melee", 1, 1, baseMinDamage, baseMaxDamage, 0, stats, character, options, Color.FromArgb(255, 255, 0, 0), MagicSchool.Shadow, SpellTree.None) { }