Alangara_PRC8/_module/nss/ke_trixareward.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

37 lines
1.0 KiB
Plaintext

#include "nw_i0_tool"
#include "prc_class_const"
void main()
{
object oPC = GetPCSpeaker();
int iArcane = GetLevelByClass(CLASS_TYPE_WIZARD, oPC)
+ GetLevelByClass(CLASS_TYPE_SORCERER, oPC)
+ GetLevelByClass(CLASS_TYPE_DRAGONFIRE_ADEPT, oPC)
+ GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, oPC)
+ GetLevelByClass(CLASS_TYPE_BEGUILER, oPC)
+ GetLevelByClass(CLASS_TYPE_SHADOWCASTER, oPC)
+ GetLevelByClass(CLASS_TYPE_WARMAGE, oPC)
+ GetLevelByClass(CLASS_TYPE_BINDER, oPC)
+ GetLevelByClass(CLASS_TYPE_TRUENAMER, oPC)
+ GetLevelByClass(CLASS_TYPE_WARLOCK, oPC);
int iDruidic = GetLevelByClass(CLASS_TYPE_DRUID, oPC)
+ GetLevelByClass(CLASS_TYPE_SHAMAN, oPC);
object oItem = GetItemPossessedBy(oPC, "TrixasClaw");
if (GetIsObjectValid(oItem))
DestroyObject(oItem);
RewardPartyXP(5000, oPC, FALSE);
RewardPartyGP(50000, oPC, FALSE);
if (iArcane + iDruidic > 0)
{
CreateItemOnObject("item031", oPC);
}
CreateItemOnObject("questgem017", oPC);
}