public AbilityEffectDecorator(float effectMultiplier, IAbilityEffect abilityEffect) { this.effectMultiplier = effectMultiplier; this.abilityEffect = abilityEffect; this.ability = abilityEffect.ability; this.targetCells = abilityEffect.targetCells; }
public Ability(string Name, string Desc, List <IAbilityComponent> AbilityComponents, IAbilityEffect Effect) { name = Name; desc = Desc; abilityComponents = AbilityComponents; effect = Effect; }
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); }
public DamageEffectDecorator(float effectMultiplier, IAbilityEffect abilityEffect) : base(effectMultiplier, abilityEffect) { }