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.
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
/*
|
|
12/1/20 by Stratovarius
|
|
|
|
Wind Cloak
|
|
|
|
Descriptors: None
|
|
Classes: Incarnate, Soulborn
|
|
Chakra: Shoulders
|
|
Saving Throw: None
|
|
|
|
A gauzy cloak of incarnum settles over you, swirling about you as a gentle breeze blows through your hair. A stirring of air at your feet disturbs nearby dust.
|
|
|
|
You gain damage resistance 2/- against piercing damage.
|
|
|
|
Essentia: Every point of essentia invested increases the damage resistance by 2.
|
|
|
|
Chakra Bind (Shoulder)
|
|
|
|
As arrows fly in, the wind of your soulmeld swirls around, deflecting them away, perhaps even back at your attackers.
|
|
|
|
You gain the Deflect Arrows feat.
|
|
*/
|
|
|
|
#include "moi_inc_moifunc"
|
|
|
|
void main()
|
|
{
|
|
object oMeldshaper = PRCGetSpellTargetObject();
|
|
int nEssentia = GetEssentiaInvested(oMeldshaper);
|
|
int nBonus = 2 + (2 * nEssentia);
|
|
effect eLink = EffectDamageResistance(DAMAGE_TYPE_PIERCING, nBonus);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, SupernaturalEffect(eLink), oMeldshaper, 9999.0);
|
|
IPSafeAddItemProperty(GetPCSkin(oMeldshaper), ItemPropertyBonusFeat(IP_CONST_MELD_WIND_CLOAK), 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING);
|
|
if (GetIsMeldBound(oMeldshaper, MELD_WIND_CLOAK) == CHAKRA_SHOULDERS) IPSafeAddItemProperty(GetPCSkin(oMeldshaper), ItemPropertyBonusFeat(IP_CONST_FEAT_DEFLECT_ARROWS), 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING);
|
|
} |