PRC8_fork/nwn/nwnprc/trunk/psionics/psi_wil_generic.nss

12 lines
344 B
Plaintext
Raw Permalink Normal View History

/*
generic powercalling function
*/
#include "psi_inc_psifunc"
void main()
{
UsePower(GetPowerFromSpellID(PRCGetSpellId()), CLASS_TYPE_WILDER);
if(DEBUG) DoDebug("psi_wil_generic: SpellID: " + IntToString(PRCGetSpellId()));
if(DEBUG) DoDebug("psi_wil_generic: PowerID: " + IntToString(GetPowerFromSpellID(PRCGetSpellId())));
}