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