On my server i made my Sgs freeze like this:
If i spec Player with my sgs it works he will get freezing for 15-25 seconds, it's work fine.
But if you spec Npc with my sgs, the barrage doesn't show and the NPC doesn't freeze, he can move, how to fix or add?
I want the npc get freezes too.
Here is my codes:
Code:
case 11698:
c.startAnimation(4303);
c.gfx0(1220);
c.specAccuracy = 1.25;
c.specEffect = 55;
c.hitDelay = getHitDelay(c.getItems().getItemName(c.playerEquipment[c.playerWeapon]).toLowerCase());
break;
Code:
case 55:
if (o.freezeTimer <= 0) {
o.freezeTimer = 40;
o.gfx0(369);
o.frozenBy = c.playerId;
o.stopMovement();
}