PRC8/nwn/nwnprc/trunk/scripts/tempus_dg_senh2.nss
Jaysyn904 d87fe14826 Further file organization
Further file organization
2023-08-23 22:11:00 -04:00

18 lines
436 B
Plaintext

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