This commit is contained in:
@@ -16,7 +16,8 @@ public class Sandstorm : Script, IScriptChangeBasePower, IScriptChangeDefensiveS
|
||||
continue;
|
||||
}
|
||||
var bypassSandstormArgs = new CustomTriggers.BypassSandstormDamageArgs(pokemon);
|
||||
pokemon.RunScriptHook(x => x.CustomTrigger(CustomTriggers.BypassSandstormDamage, bypassSandstormArgs));
|
||||
pokemon.RunScriptHook<IScriptCustomTrigger>(x =>
|
||||
x.CustomTrigger(CustomTriggers.BypassSandstormDamage, bypassSandstormArgs));
|
||||
if (bypassSandstormArgs.Bypass)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user