Example #1
0
 public DamagingSpell(
     TargetingStrategy thisTargetingStrategy,
     float thisSpellDamageCoefficient,
     int thisCastTime,
     int thisHeat,
     int thisBaseDmg,
     int thisCooldownDuration           = 0,
     bool thisIsCooldownModifiedByHaste = false,
     bool thisIsOnGCD = true
     ) : base(thisTargetingStrategy, thisCastTime, thisCooldownDuration, thisIsOnGCD, thisIsCooldownModifiedByHaste)
 {
     spellDamageCoefficient = thisSpellDamageCoefficient;
     baseDmg = thisBaseDmg;
     heat    = thisHeat;
 }
Example #2
0
 public TargetedAction(TargetingStrategy thisTargetingStrategy, int thisCastTime, int thisCooldownDuration = 0) :
     base(thisCastTime, thisCooldownDuration)
 {
     targetingStrategy = thisTargetingStrategy;
 }
Example #3
0
 public BuffSpell(BuffEffect thisBuff, TargetingStrategy thisTargetingStrategy, int thisCastTime, int thisCooldownDuration = 0,
                  bool thisIsOnGCD = true, bool thisIsCooldownModifiedByHaste = false) :
     base(thisTargetingStrategy, thisCastTime, thisCooldownDuration, thisIsOnGCD, thisIsCooldownModifiedByHaste)
 {
     buff = thisBuff;
 }
Example #4
0
 public Spell(TargetingStrategy thisTargetingStrategy, int thisCastTime, int thisCooldownDuration = 0,
              bool thisIsOnGCD = true, bool thisIsCooldownModifiedByHaste = false) : base(thisTargetingStrategy, thisCastTime, thisCooldownDuration)
 {
     isOnGCD = thisIsOnGCD;
 }