File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,8 @@ class Combat {
115115 soundIds . npc . human . maleDefence , 5 ) ;
116116
117117 defender . damage ( actualHit ) ;
118- const defenderState : 'alive' | 'dead' = 'alive' ;
118+ /* const defenderState: 'alive' | 'dead' = 'alive';
119119
120- // @ts -ignore
121120 if (defenderState === 'dead') {
122121 // @TODO death sounds
123122 this.processDeath(defender, attacker);
@@ -126,7 +125,7 @@ class Combat {
126125 activeWorld.playLocationSound(defender.position, defender instanceof Player ? soundIds.npc.human.noArmorHitPlayer :
127126 soundIds.npc.human.noArmorHit, 5);
128127 defender.playAnimation(defender.getBlockAnimation());
129- }
128+ }*/
130129 }
131130
132131 public async processDeath ( victim : Actor , assailant ?: Actor ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments