2025/06/23 Update
Fixed NUI levelup issue. Full compile.
This commit is contained in:
@@ -23,6 +23,11 @@ void main ()
|
||||
{
|
||||
SendMessageToPC(data.oTarget, "Devastating Critical Hit: 10x damage!");
|
||||
}
|
||||
if (GetIsPC(OBJECT_SELF))
|
||||
{
|
||||
SendMessageToPC(OBJECT_SELF, "Devastating Critical Hit: 10x damage!");
|
||||
FloatingTextStringOnCreature("Devastating Critical Hit!", data.oTarget);
|
||||
}
|
||||
|
||||
data.iAttackResult = 10; // 10 : dev crit
|
||||
|
||||
@@ -44,10 +49,14 @@ void main ()
|
||||
data.iNegative +
|
||||
data.iPositive;
|
||||
|
||||
if (nTotalDamage >= GetCurrentHitPoints(data.oTarget))
|
||||
{
|
||||
SetLocalInt(OBJECT_SELF, "devcrit", 0);
|
||||
}
|
||||
NWNX_Damage_SetAttackEventData(data);
|
||||
|
||||
if (!GetIsObjectValid(data.oTarget)) return;
|
||||
|
||||
if (nTotalDamage >= GetCurrentHitPoints(data.oTarget))
|
||||
{
|
||||
SetLocalInt(OBJECT_SELF, "devcrit", 0);
|
||||
}
|
||||
|
||||
//}
|
||||
/* else
|
||||
|
||||
Reference in New Issue
Block a user