Esempio n. 1
0
 public AbilityEffectDecorator(float effectMultiplier, IAbilityEffect abilityEffect)
 {
     this.effectMultiplier = effectMultiplier;
     this.abilityEffect    = abilityEffect;
     this.ability          = abilityEffect.ability;
     this.targetCells      = abilityEffect.targetCells;
 }
Esempio n. 2
0
 public Ability(string Name, string Desc, List <IAbilityComponent> AbilityComponents, IAbilityEffect Effect)
 {
     name = Name;
     desc = Desc;
     abilityComponents = AbilityComponents;
     effect            = Effect;
 }
Esempio n. 3
0
        public AbilityResultContainer ExecuteAbilityEffect(AbilityExecuteParameters abilityExecuteParameters, IAbilityEffect effect)
        {
            // I'll have to break this up and change all this later, but for now I'm tired and just want something to work for now
            var effectResults = effect.CreateResults(abilityExecuteParameters);

            effect.ExecuteEffect(abilityExecuteParameters, effectResults);
            return(effectResults);
        }
Esempio n. 4
0
 public DamageEffectDecorator(float effectMultiplier, IAbilityEffect abilityEffect) :
     base(effectMultiplier, abilityEffect)
 {
 }