mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Hide arrow's shadow if buried
This commit is contained in:
parent
7d03c2e520
commit
c48863fae6
1 changed files with 2 additions and 0 deletions
|
@ -458,6 +458,8 @@ 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'
|
||||
@marks.shadow.hide()
|
||||
mark.update() for name, mark of @marks
|
||||
#@thang.effectNames = ['berserk', 'confuse', 'control', 'curse', 'fear', 'poison', 'paralyze', 'regen', 'sleep', 'slow', 'haste']
|
||||
@updateEffectMarks() if @thang?.effectNames?.length or @previousEffectNames?.length
|
||||
|
|
Loading…
Reference in a new issue