Even with COMBAT_PARALYZE_CANSWING and MAGICF_CASTPARALYZED NPCs do not cast or attack. The skill selection is made in CChar::NPC_OnTickAction, however the method gets called in CChar::_OnTick is behind stat flag check:
|
if (!IsStatFlag(STATF_FREEZE|STATF_STONE) && !Can(CAN_C_STATUE)) |
Even with
COMBAT_PARALYZE_CANSWINGandMAGICF_CASTPARALYZEDNPCs do not cast or attack. The skill selection is made inCChar::NPC_OnTickAction, however the method gets called inCChar::_OnTickis behind stat flag check:Source-X/src/game/chars/CCharAct.cpp
Line 5948 in 92ced0b