10 lines
277 B
ActionScript
10 lines
277 B
ActionScript
|
namespace Gen7 {
|
||
|
[Pokemon effect=Infatuated]
|
||
|
class Infatuated : PkmnScript{
|
||
|
void PreventAttack(ExecutingMove@ attack, bool& result) override {
|
||
|
if (attack.User.Battle.Random.Get(2) == 0){
|
||
|
result = true;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|