Updated Release Archive

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.
This commit is contained in:
Jaysyn904
2023-08-22 10:00:21 -04:00
parent 3acda03f30
commit 5914ed2ab5
22853 changed files with 57524 additions and 47307 deletions

View File

@@ -0,0 +1,37 @@
//#include "prc_alterations"
#include "prc_feat_const"
#include "inc_item_props"
//King of Lies +4 Bonus to Cha
void KingofLies(object oPC ,object oSkin ,int iLevel)
{
int iTest = GetPersistantLocalInt(oPC, "NWNX_KingofLies");
if(iTest != iLevel)
SetCompositeBonus(oSkin, "KingofLies", iLevel, ITEM_PROPERTY_ABILITY_BONUS,IP_CONST_ABILITY_CHA);
}
//Int Modifier applied to Bluff Checks aswell as Charisma
void DevilTongue(object oPC ,object oSkin ,int iLevel)
{
if(GetLocalInt(oSkin, "TongueoftheDevil") == iLevel) return;
SetCompositeBonus(oSkin, "TongueoftheDevil", iLevel, ITEM_PROPERTY_SKILL_BONUS,SKILL_BLUFF);
}
void main()
{
//Declare main variables.
object oPC = OBJECT_SELF;
object oSkin = GetPCSkin(oPC);
object oWeapon = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC);
int iInt = GetAbilityModifier(ABILITY_INTELLIGENCE,oPC);
int bKing = GetHasFeat(FEAT_KING_LIES, oPC) ? 4 : 0;
int bDevil = GetHasFeat(FEAT_TONGUE_DEVIL, oPC) ? iInt : 0;
if (bKing>0) KingofLies(oPC, oSkin,bKing);
if (bDevil>0) DevilTongue(oPC, oSkin,bDevil);
}