public static LifeStatus KillSelf(IDBase victim, out DamageEvent damage, object extraData = null) { return(TakeDamage.HurtShared(victim, victim, TakeDamage.Quantity.AllHealth, out damage, extraData)); }
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)); }
public static LifeStatus Kill(IDBase attacker, IDBase victim, object extraData = null) { return(TakeDamage.HurtShared(attacker, victim, TakeDamage.Quantity.AllHealth, extraData)); }
public static LifeStatus HurtSelf(IDBase victim, TakeDamage.Quantity damageQuantity, object extraData = null) { return(TakeDamage.HurtShared(victim, victim, damageQuantity, extraData)); }