Further file organization
Further file organization
This commit is contained in:
17
nwn/nwnprc/trunk/scripts/tempus_dg_sdisr.nss
Normal file
17
nwn/nwnprc/trunk/scripts/tempus_dg_sdisr.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "prc_feat_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
if (GetLocalInt(oPC,"WeapEchant1")==TEMPUS_ABILITY_DISRUPTION)
|
||||
return;
|
||||
|
||||
if(!GetLocalInt(oPC,"WeapEchant1"))
|
||||
SetLocalInt(oPC,"WeapEchant1",TEMPUS_ABILITY_DISRUPTION);
|
||||
else if(!GetLocalInt(oPC,"WeapEchant2"))
|
||||
SetLocalInt(oPC,"WeapEchant2",TEMPUS_ABILITY_DISRUPTION);
|
||||
|
||||
SetLocalInt(oPC,"TempusPower",GetLocalInt(oPC,"TempusPower")-2);
|
||||
|
||||
}
|
Reference in New Issue
Block a user