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,16 @@
/*
06/11/21 by Stratovarius
Unearthly Grace: A gloura gains a deflection bonus to Armor Class and all saving throws equal to its Charisma modifier
*/
#include "prc_inc_function"
void main()
{
object oCaster = PRCGetSpellTargetObject();
int nBonus = GetAbilityModifier(ABILITY_CHARISMA, oCaster);
//FloatingTextStringOnCreature("Applying Unearthly Grace "+IntToString(nBonus), oCaster, FALSE);
effect eLink = EffectLinkEffects(EffectACIncrease(nBonus, AC_DEFLECTION_BONUS), EffectSavingThrowIncrease(SAVING_THROW_ALL, nBonus, SAVING_THROW_TYPE_ALL));
if (nBonus > 0) ApplyEffectToObject(DURATION_TYPE_TEMPORARY, ExtraordinaryEffect(eLink), oCaster, 9999.0);
}