Mega Chan: mode Banteng Murka (skill pengganti dan ultimate Tanduk Neraka); timer mode berhenti selama ultimate mode
|
After Width: | Height: | Size: 353 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 90 KiB |
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 42 KiB |
5
game.js
|
|
@ -979,7 +979,10 @@
|
|||
if (p.t <= 0 || !bwAlive(target)) bwx.poison[key] = null;
|
||||
}
|
||||
// Rage countdown.
|
||||
for (const key of ['player', 'enemy']) if (bwx.rage[key] > 0) { bwx.rage[key] = Math.max(0, bwx.rage[key] - dt); if (bwx.rage[key] === 0) bwExitRage(key); }
|
||||
for (const key of ['player', 'enemy']) if (bwx.rage[key] > 0) {
|
||||
const grp = key === 'player' ? sunroar : enemySunroar; if (grp && (grp.kind === 'mode' || grp.kind === 'tornado')) continue; // the mode's own ultimate holds the timer and ends the mode itself
|
||||
bwx.rage[key] = Math.max(0, bwx.rage[key] - dt); if (bwx.rage[key] === 0) bwExitRage(key);
|
||||
}
|
||||
// Hutan Terbakar: each palm ignites once, then burns anyone standing on the ground inside its radius (one burn per rival).
|
||||
const F2 = BW.fire, inside = { player: false, enemy: false };
|
||||
for (let n = bwx.fires.length - 1; n >= 0; n--) {
|
||||
|
|
|
|||