WizardryEE/Notes/trunk/scripts/tempus_dg_svampi.nss
2025-04-30 12:23:15 -04:00

17 lines
331 B
Plaintext

#include "prc_feat_const"
void main()
{
object oPC = GetPCSpeaker();
if (GetLocalInt(oPC,"WeapEchant1")==TEMPUS_ABILITY_VAMPIRE)
return;
if(!GetLocalInt(oPC,"WeapEchant1"))
SetLocalInt(oPC,"WeapEchant1",TEMPUS_ABILITY_VAMPIRE);
SetLocalInt(oPC,"TempusPower",GetLocalInt(oPC,"TempusPower")-3);
}