Esempio n. 1
0
 public DamageData(int damage, Enumerations.Elements damagingElement, bool piercing, Enumerations.ContactTypes contactType,
                   Enumerations.ContactProperties contactProperty, StatusChanceHolder[] statuses, bool cantMiss, bool allOrNothingAffected,
                   Enumerations.DefensiveActionTypes defensiveOverride, Enumerations.DamageEffects damageEffect)
 {
     Damage               = damage;
     DamagingElement      = damagingElement;
     Piercing             = piercing;
     ContactType          = contactType;
     ContactProperty      = contactProperty;
     Statuses             = statuses;
     CantMiss             = cantMiss;
     AllOrNothingAffected = allOrNothingAffected;
     DefensiveOverride    = defensiveOverride;
     DamageEffect         = damageEffect;
 }
Esempio n. 2
0
 public InteractionParamHolder(BattleEntity attacker, BattleEntity victim, int damage, Enumerations.Elements element,
                               bool piercing, Enumerations.ContactTypes contactType, Enumerations.ContactProperties contactProperty,
                               StatusChanceHolder[] statuses, Enumerations.DamageEffects damageEffect, bool cantMiss,
                               Enumerations.DefensiveActionTypes defensiveOverride)
 {
     Attacker          = attacker;
     Victim            = victim;
     Damage            = damage;
     DamagingElement   = element;
     Piercing          = piercing;
     ContactType       = contactType;
     ContactProperty   = contactProperty;
     Statuses          = statuses;
     DamageEffect      = damageEffect;
     CantMiss          = cantMiss;
     DefensiveOverride = defensiveOverride;
 }
Esempio n. 3
0
        public InteractionHolder(BattleEntity entity, int totalDamage, Enumerations.Elements damageElement, ElementInteractionResult elementResult,
                                 Enumerations.ContactTypes contactType, Enumerations.ContactProperties contactProperty, bool piercing, StatusChanceHolder[] statusesInflicted, bool hit, Enumerations.DamageEffects damageEffect)
        {
            Entity            = entity;
            TotalDamage       = totalDamage;
            DamageElement     = damageElement;
            ElementResult     = elementResult;
            ContactType       = contactType;
            ContactProperty   = contactProperty;
            Piercing          = piercing;
            StatusesInflicted = statusesInflicted;
            Hit          = hit;
            DamageEffect = damageEffect;

            DefensiveActionsPerformed = Enumerations.DefensiveActionTypes.None;

            IsPaybackDamage = false;

            DontDamageEntity = false;
        }
Esempio n. 4
0
 public DamageData(int damage, Enumerations.Elements damagingElement, bool piercing, Enumerations.ContactTypes contactType,
                   Enumerations.ContactProperties contactProperty, StatusChanceHolder[] statuses, Enumerations.DamageEffects damageEffect)
     : this(damage, damagingElement, piercing, contactType, contactProperty, statuses, false, true,
            Enumerations.DefensiveActionTypes.None, damageEffect)
 {
 }