Shows the damage that a weapon deals only when hovering over a weapon on the path tab.

This commit is contained in:
Elizabeth Donohew
2016-02-23 20:46:19 -06:00
parent ea38d220d1
commit 7efe142637
2 changed files with 14 additions and 4 deletions
+4
View File
@@ -549,6 +549,10 @@ var World = {
return World.state.map[World.curPos[0]][World.curPos[1]];
},
getDamage: function(thing) {
return World.Weapons[thing].damage;
},
narrateMove: function(oldTile, newTile) {
var msg = null;
switch(oldTile) {