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,27 @@
/*
9/7/10 by Stratovarius
Step of the Bodiless
Beginning at 1st level, you gain a +2 enhancement bonus on Balance, Climb, Jump, and Tumble checks for every
point of essentia you invest in this class feature.
*/
#include "moi_inc_moifunc"
void main()
{
object oMeldshaper = PRCGetSpellTargetObject();
int nBonus = GetEssentiaInvested(oMeldshaper) * 2;
if (nBonus)
{
effect eLink = EffectLinkEffects(EffectSkillIncrease(SKILL_TUMBLE, nBonus), EffectSkillIncrease(SKILL_BALANCE, nBonus));
eLink = EffectLinkEffects(eLink, EffectSkillIncrease(SKILL_JUMP, nBonus));
eLink = EffectLinkEffects(eLink, EffectSkillIncrease(SKILL_CLIMB, nBonus));
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, SupernaturalEffect(eLink), oMeldshaper, 9999.0);
}
else
FloatingTextStringOnCreature("You have no essentia invested in "+GetStringByStrRef(StringToInt(Get2DACache("spells", "Name", PRCGetSpellId()))), oMeldshaper, FALSE);
}