Further PRC integration

Further PRC integration.  Fixed Rod of Ruin.  Full compile.
This commit is contained in:
Jaysyn904
2022-10-10 08:16:23 -04:00
parent b257fba4d9
commit 2bf42182fd
1710 changed files with 1758 additions and 244 deletions

View File

@@ -17,7 +17,9 @@ the X2_ITEM_EVENT_ACTIVATE: script code will run.
*/
////////////////////////////////////////
#include "x2_inc_switches"
#include "prc_class_const"
//Main Script
void main()
@@ -92,8 +94,15 @@ void main()
oTarget = GetItemActivatedTarget(); //The target of the item's power
lway = GetItemActivatedTargetLocation(); //To get the location of the target!
nWLvl = GetLevelByClass(CLASS_TYPE_WIZARD, oPC);
nSLvl = GetLevelByClass(CLASS_TYPE_SORCERER, oPC);
nWLvl = GetLevelByClass(CLASS_TYPE_WIZARD, oPC);
nSLvl = GetLevelByClass(CLASS_TYPE_SORCERER, oPC)
+GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, oPC)
+GetLevelByClass(CLASS_TYPE_WARMAGE, oPC)
+GetLevelByClass(CLASS_TYPE_SHADOWCASTER, oPC)
+GetLevelByClass(CLASS_TYPE_WARLOCK, oPC)
+GetLevelByClass(CLASS_TYPE_DRAGONFIRE_ADEPT, oPC);
//Determine effects...
if(nWLvl >=21)
{