mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
Shows the damage that a weapon deals only when hovering over a weapon on the path tab.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user