Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
#include "prc_feat_const"
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
if ( (GetLocalInt(oPC,"WeapEchant1")==TEMPUS_ABILITY_VICIOUS && GetLocalInt(oPC,"WeapEchantRace1")==IP_CONST_RACIALTYPE_ANIMAL )||
|
|
(GetLocalInt(oPC,"WeapEchant1")==TEMPUS_ABILITY_VICIOUS && GetLocalInt(oPC,"WeapEchantRace2")==IP_CONST_RACIALTYPE_ANIMAL )||
|
|
(GetLocalInt(oPC,"WeapEchant1")==TEMPUS_ABILITY_VICIOUS && GetLocalInt(oPC,"WeapEchantRace3")==IP_CONST_RACIALTYPE_ANIMAL ))
|
|
return;
|
|
|
|
if(!GetLocalInt(oPC,"WeapEchant1"))
|
|
{
|
|
SetLocalInt(oPC,"WeapEchant1",TEMPUS_ABILITY_VICIOUS);
|
|
SetLocalInt(oPC,"WeapEchantRace1",IP_CONST_RACIALTYPE_ANIMAL);
|
|
}
|
|
else if(!GetLocalInt(oPC,"WeapEchant2"))
|
|
{
|
|
SetLocalInt(oPC,"WeapEchant2",TEMPUS_ABILITY_VICIOUS);
|
|
SetLocalInt(oPC,"WeapEchantRace2",IP_CONST_RACIALTYPE_ANIMAL);
|
|
}
|
|
else if(!GetLocalInt(oPC,"WeapEchant3"))
|
|
{
|
|
SetLocalInt(oPC,"WeapEchant3",TEMPUS_ABILITY_VICIOUS);
|
|
SetLocalInt(oPC,"WeapEchantRace3",IP_CONST_RACIALTYPE_ANIMAL);
|
|
}
|
|
|
|
SetLocalInt(oPC,"TempusPower",GetLocalInt(oPC,"TempusPower")-1);
|
|
|
|
}
|