public AetherOnDamagedModifier(ModifierInfo info,
                                Entity casterEntity, Entity targetEntity,
                                Environment environment,
                                CollectionOfInteractions modifierInteractionCollection) : base(info, casterEntity, targetEntity, environment, modifierInteractionCollection)
 {
     this.info       = (AetherOnDamagedInfo)info;
     aetherComponent = targetEntity.GetComponent <AetherComponent>();
     targetCharacter = targetEntity.GetComponent <SkillComponent>().Character;
 }
Пример #2
0
        public MaxAetherModifier(ModifierInfo info, Entity casterEntity, Entity targetEntity, Environment environment, CollectionOfInteractions modifierInteractionCollection) : base(info, casterEntity, targetEntity, environment, modifierInteractionCollection)
        {
            this.info = (MaxAetherInfo)info;

            aetherComponent = targetEntity.GetComponent <AetherComponent>();
        }