Fix CheckBlock
This commit is contained in:
1 parent
a5ffe95152
commit
f92f4e7429
1 file changed
+4
-2
+4
-2
@@ -990,8 +990,10 @@ control.prototype.checkBlock = function () {
|
||||
core.drawTip('受到领域伤害'+damage+'点');
|
||||
}
|
||||
|
||||
core.playSound('zone.ogg');
|
||||
core.drawAnimate("zone", x, y);
|
||||
if (damage>0) {
|
||||
core.playSound('zone.ogg');
|
||||
core.drawAnimate("zone", x, y);
|
||||
}
|
||||
|
||||
if (core.status.hero.hp<=0) {
|
||||
core.status.hero.hp=0;
|
||||
|
||||
Reference in new issue
Block a user