Advertisement
Azeria111

Protect

Jun 27th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. if ((attacker.pbSpeed<pbRoughStat(opponent,PBStats::SPEED,skill)) ^ (@trickroom!=0))
  2. score*=4
  3. #experimental -- cancels out drop if killing moves
  4. if initialscores.length>0
  5. greatmoves=false
  6. for i in 0...initialscores.length
  7. next if i==scoreindex
  8. if initialscores[i]>=100
  9. greatmoves=true
  10. end
  11. end
  12. score*=6 if greatmoves
  13. end
  14. #end experimental
  15. else
  16. score*=0.8
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement