PRC8/trunk/psionics/psi_sk_clseval.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

29 lines
957 B
Plaintext

//::///////////////////////////////////////////////
//:: Soulknife: Class evaluation script
//:: psi_sk_clseval
//::///////////////////////////////////////////////
/** @file Soulknife: Class evaluation script
Hooks the soulknife eventscripts.
@author Ornedan
@date Created - 2006.03.07
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "psi_inc_soulkn"
void main()
{
object oPC = OBJECT_SELF;
// Hook psi_sk_event to the mindblade-related events it handles
AddEventScript(oPC, EVENT_ONPLAYEREQUIPITEM, "psi_sk_event", TRUE, FALSE);
AddEventScript(oPC, EVENT_ONPLAYERUNEQUIPITEM, "psi_sk_event", TRUE, FALSE);
AddEventScript(oPC, EVENT_ONUNAQUIREITEM, "psi_sk_event", TRUE, FALSE);
AddEventScript(oPC, EVENT_ONPLAYERDEATH, "psi_sk_event", TRUE, FALSE);
AddEventScript(oPC, EVENT_ONPLAYERLEVELDOWN, "psi_sk_event", TRUE, FALSE);
}