示例#1
0
 public static bool SavingThrowSpell(this GameObject obj, int dc, SavingThrowType saveType,
                                     D20SavingThrowFlag flags,
                                     GameObject caster, int spellId)
 {
     return(GameSystems.D20.Combat.SavingThrowSpell(obj, caster, dc, saveType, flags, spellId));
 }
示例#2
0
 public static bool ReflexSaveAndDamage(this GameObject obj,
                                        GameObject attacker, int dc, D20SavingThrowReduction reduction, D20SavingThrowFlag flags,
                                        Dice damageDice,
                                        DamageType damageType, D20AttackPower attackPower,
                                        D20ActionType actionType = D20ActionType.NONE, int spellId = 0)
 {
     return(GameSystems.D20.Combat.ReflexSaveAndDamage(obj, attacker, dc, reduction, flags, damageDice,
                                                       damageType, attackPower, actionType, spellId));
 }
示例#3
0
 public static bool SavingThrow(this GameObject obj, int dc, SavingThrowType saveType,
                                D20SavingThrowFlag flags,
                                GameObject opponent = null)
 {
     return(GameSystems.D20.Combat.SavingThrow(obj, opponent, dc, saveType, flags));
 }