Ejemplo n.º 1
0
 public static Effect MissChance(int missPct, MissChanceType missChanceType = MissChanceType.Normal)
 => NWScript.EffectMissChance(missPct, (int)missChanceType);
Ejemplo n.º 2
0
 /// <summary>
 /// Creates an effect that conceals an object.
 /// </summary>
 /// <param name="percentage">The percentage chance for other attackers to miss (1-100).</param>
 /// <param name="missChanceType">The type of attack to apply this concealment against.</param>
 public static Effect Concealment(int percentage, MissChanceType missChanceType = MissChanceType.Normal)
 => NWScript.EffectConcealment(percentage, (int)missChanceType);
Ejemplo n.º 3
0
 public static Effect MissChance(int missPct, MissChanceType missChanceType = MissChanceType.Normal)
 {
     return(NWScript.EffectMissChance(missPct, (int)missChanceType) !);
 }