PRC8/nwn/nwnprc/trunk/scripts/tempus_dg_swound.nss

20 lines
507 B
Plaintext
Raw Normal View History

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