Created a builder for making maps

This commit is contained in:
dalyjame
2019-07-03 21:57:20 -04:00
parent adef7235f1
commit 8e7937b3c6
9 changed files with 545 additions and 10 deletions

View File

@@ -83,6 +83,7 @@ abstract class Move extends MoveTurn {
reader ! Message(s"$user used $name.")
if (onTryMove(user, this, target, reader, rng)) {
if (attackRoll(user, target)) {
reader ! AnimateMsg(element, target)
if (pow > 0 || powCallback != null || damageCallback != null) {
val dmg = damageRoll(user, target)
val actualDmg = target.takeDamage(dmg)