2025/11/30 Update

Updated module to NWN:EE v37-17
Updated NWNxEE libraries to latest.
Associated new PRC8 module script for the GUI event.
Deleted old prc_2da_cache creature from top hak as it's now unneeded.
Full compile.
This commit is contained in:
Jaysyn904
2025-11-30 22:04:26 -05:00
parent 243ed8a652
commit 8ca4aed814
1252 changed files with 19391 additions and 19766 deletions

View File

@@ -86,8 +86,9 @@ struct NWNX_Damage_AttackEventData
int iAttackResult; ///< 1=hit, 2=parried, 3=critical hit, 4=miss, 5=resisted, 7=automatic hit, 8=concealed, 9=miss chance, 10=devastating crit
int iWeaponAttackType; ///< 1=main hand, 2=offhand, 3-5=creature, 6=extra(haste), 7=unarmed, 8=unarmed extra
int iSneakAttack; ///< 0=neither, 1=sneak attack, 2=death attack, 3=both
int iAttackType; ///< 65002=Attack of Opportunity, 65003=Riposte or a FeatID like KnockDown or some other special attack.
int bRangedAttack; /// TRUE if it is a ranged attack
int bKillingBlow; ///< TRUE if the hit is a killing blow
int iAttackType; ///< 65002=Attack of Opportunity, 65003=Riposte or a FeatID like KnockDown or some other special attack.
int iToHitRoll; ///< The to hit roll of the attack
int iToHitModifier; ///< The to hit modifier of the attack
};
@@ -311,6 +312,7 @@ struct NWNX_Damage_AttackEventData NWNX_Damage_GetAttackEventData()
data.iAttackType = NWNXPopInt();
data.iToHitRoll = NWNXPopInt();
data.iToHitModifier = NWNXPopInt();
data.bRangedAttack = NWNXPopInt();
return data;
}