Hide arrow's shadow if buried

This commit is contained in:
kgy01 2014-03-25 08:06:37 -04:00
parent 7d03c2e520
commit c48863fae6

View file

@ -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