More move scripts
This commit is contained in:
@@ -13,6 +13,12 @@ public class RagePowder : Script
|
||||
return;
|
||||
|
||||
var effect = battleData.BattleSide.VolatileScripts.Add(new RagePowderEffect(move.User));
|
||||
if (effect == null)
|
||||
{
|
||||
move.GetHitData(target, hit).Fail();
|
||||
return;
|
||||
}
|
||||
|
||||
((RagePowderEffect)effect.Script!).User = move.User;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user