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,27 @@
// Basically what this does is add the weapon finesse calculated in prc_intuiatk and an offsetting
// penalty to compensate for attack bonuses on the creature weapon. If the character is attacking
// with gloves that give an attack bonus, the offset penalty may not exist.
#include "prc_inc_spells"
void main ()
{
object oPC = PRCGetSpellTargetObject();
int iPen = GetLocalInt(oPC, "UnarmedEnhancement") - GetLocalInt(oPC, "UnarmedEnhancementGlove");
int iFin = GetLocalInt(oPC, "UnarmedWeaponFinesseBonus");
if (iPen < 0) iPen = 0;
effect ePen = EffectAttackDecrease(iPen); // offset penalty
ePen = EffectLinkEffects(ePen, EffectAttackIncrease(iFin)); // weapon finesse bonus
ePen = SupernaturalEffect(ePen);
PRCRemoveEffectsFromSpell(oPC, GetSpellId());
ApplyEffectToObject(DURATION_TYPE_PERMANENT, ePen, oPC);
DeleteLocalInt(oPC, "UnarmedEnhancement");
DeleteLocalInt(oPC, "UnarmedEnhancementGlove");
DeleteLocalInt(oPC, "UnarmedWeaponFinesseBonus");
}