Initial Commit

Initial Commit [v1.32PRC8]
This commit is contained in:
Jaysyn904
2025-04-03 13:38:45 -04:00
parent 1213977d8c
commit b464d8da05
6922 changed files with 6176025 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
// x2_mod_def_equ,prc_equip
/////////////////////////////////////////////////////////////////////
//
// This script has been auto-generated by HakInstaller to call
// multiple handlers for the onplayerequipitem event.
//
/////////////////////////////////////////////////////////////////////
#include "prc_x2_itemprop"
#include "x2_inc_treasure"
#include "rd_treasure"
#include "utl_i_sqlocals"
void main()
{
ExecuteScript("x2_mod_def_equ", OBJECT_SELF);
object oItem = GetPCItemLastEquipped();
object oPC = GetPCItemLastEquippedBy();
//This will remove temp properties if wielder isn't true wielder
if (!(SQLocals_GetString(oItem,"PCWielder")=="") && !(SQLocals_GetString(oItem,"PCWielder")==GetName(oPC)))
IPRemoveAllItemProperties(oItem);
GetSpecialWeaponBonus(oPC,oItem);
}