Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,30 @@
#include "prc_feat_const"
void main()
{
object oPC = GetPCSpeaker();
if ( (GetLocalInt(oPC,"WeapEchant1")==TEMPUS_ABILITY_VICIOUS && GetLocalInt(oPC,"WeapEchantRace1")==IP_CONST_RACIALTYPE_GIANT )||
(GetLocalInt(oPC,"WeapEchant1")==TEMPUS_ABILITY_VICIOUS && GetLocalInt(oPC,"WeapEchantRace2")==IP_CONST_RACIALTYPE_GIANT )||
(GetLocalInt(oPC,"WeapEchant1")==TEMPUS_ABILITY_VICIOUS && GetLocalInt(oPC,"WeapEchantRace3")==IP_CONST_RACIALTYPE_GIANT ))
return;
if(!GetLocalInt(oPC,"WeapEchant1"))
{
SetLocalInt(oPC,"WeapEchant1",TEMPUS_ABILITY_VICIOUS);
SetLocalInt(oPC,"WeapEchantRace1",IP_CONST_RACIALTYPE_GIANT);
}
else if(!GetLocalInt(oPC,"WeapEchant2"))
{
SetLocalInt(oPC,"WeapEchant2",TEMPUS_ABILITY_VICIOUS);
SetLocalInt(oPC,"WeapEchantRace2",IP_CONST_RACIALTYPE_GIANT);
}
else if(!GetLocalInt(oPC,"WeapEchant3"))
{
SetLocalInt(oPC,"WeapEchant3",TEMPUS_ABILITY_VICIOUS);
SetLocalInt(oPC,"WeapEchantRace3",IP_CONST_RACIALTYPE_GIANT);
}
SetLocalInt(oPC,"TempusPower",GetLocalInt(oPC,"TempusPower")-1);
}