Gen7Data/Scripts/Abilities/Bulletproof.as

10 lines
299 B
ActionScript
Raw Normal View History

namespace Gen7 {
[Ability effect=Bulletproof]
class Bulletproof : PkmnScript {
void IsInvulnerable(ExecutingMove@ move, Pokemon@, bool &inout isInvulnerable) {
if (move.UseMove.HasFlag("ballistics")){
isInvulnerable = true;
}
}
}
}