mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-22 10:55:19 -04:00
hide spear's shadow if buried
This commit is contained in:
parent
3cc422a281
commit
a420064bc1
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
|
|||
else
|
||||
@marks[range['name']].toggle false for range in @ranges
|
||||
|
||||
if @thangType.get('name') is 'Arrow' and @thang.action is 'die'
|
||||
if (@thangType.get('name') is 'Arrow' or @thangType.get('name') is 'Spear') and @thang.action is 'die'
|
||||
@marks.shadow.hide()
|
||||
mark.update() for name, mark of @marks
|
||||
#@thang.effectNames = ['berserk', 'confuse', 'control', 'curse', 'fear', 'poison', 'paralyze', 'regen', 'sleep', 'slow', 'haste']
|
||||
|
|
Loading…
Reference in a new issue