Further file organization
Further file organization
This commit is contained in:
16
nwn/nwnprc/trunk/scripts/tempus_dg_svampi.nss
Normal file
16
nwn/nwnprc/trunk/scripts/tempus_dg_svampi.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
#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);
|
||||
|
||||
}
|
Reference in New Issue
Block a user