Example #1
0
 public static LifeStatus KillSelf(IDBase victim, out DamageEvent damage, object extraData = null)
 {
     return(TakeDamage.HurtShared(victim, victim, TakeDamage.Quantity.AllHealth, out damage, extraData));
 }
Example #2
0
    private static LifeStatus HurtShared(IDBase attacker, IDBase victim, TakeDamage.Quantity damageQuantity, object extraData = null)
    {
        DamageEvent damageEvent;

        return(TakeDamage.HurtShared(attacker, victim, damageQuantity, out damageEvent, extraData));
    }
Example #3
0
 public static LifeStatus Kill(IDBase attacker, IDBase victim, object extraData = null)
 {
     return(TakeDamage.HurtShared(attacker, victim, TakeDamage.Quantity.AllHealth, extraData));
 }
Example #4
0
 public static LifeStatus HurtSelf(IDBase victim, TakeDamage.Quantity damageQuantity, object extraData = null)
 {
     return(TakeDamage.HurtShared(victim, victim, damageQuantity, extraData));
 }