Added the first charge-move, razorwind. Future moves incoming. Note that since there are no items or weather, insta-charge is not yet implemented

This commit is contained in:
dalyjame
2019-06-18 16:48:54 -04:00
parent c244d36bd6
commit e008892c13
6 changed files with 147 additions and 47 deletions

View File

@@ -162,7 +162,7 @@ psn:
onResidual: |
mon.takeDamage(mon(Hp) / 8);
msg(s"${mon} was damaged by poison!")
tox:
name: 'tox'
id: 'tox'
@@ -180,3 +180,16 @@ tox:
}
mon.takeDamage(self.intData("stage") \\ 16 * mon(Hp));
msg(s"${mon} was damaged by poison!")
twoturnmove:
duration: 2
id: twoturnmove
name: twoturnmove
num: 0
onLockMove: self.strData("move")
onStart: |-
self.strData("move") = source.id
//target.addVolatile(effect.id, source)
//this.attrLastMove("[still]")
onMoveAborted: |-
mon -= self