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,33 @@
/*
prc_coc_heal
Heals damage bonus if sneak/critical immune, copied from swashbuckler.
By: Flaming_Sword
Created: Oct 10, 2007
Modified: Oct 27, 2007
*/
#include "prc_alterations"
void main()
{
object oWeap = GetSpellCastItem();
object oTarget = PRCGetSpellTargetObject();
int HealInt = GetIsImmune(oTarget, IMMUNITY_TYPE_CRITICAL_HIT)
|| GetIsImmune(oTarget, IMMUNITY_TYPE_SNEAK_ATTACK);
int nBase = GetBaseItemType(oWeap); //baseitem type checking
int bBase = nBase == BASE_ITEM_LONGSWORD
|| nBase == BASE_ITEM_RAPIER
|| nBase == BASE_ITEM_ELVEN_LIGHTBLADE
|| nBase == BASE_ITEM_ELVEN_THINBLADE
|| nBase == BASE_ITEM_ELVEN_COURTBLADE
|| nBase == BASE_ITEM_SCIMITAR;
//heal if immune to sneak and critical - dex bonus
if(HealInt || !bBase)
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectHeal(GetAbilityModifier(ABILITY_DEXTERITY, OBJECT_SELF)), oTarget);
}