May Day Update
Fixed Expanded Incarnum Capacity II-V to require the previous feat as a prereq. Fixed bonus feats granted by soulmelds to be removed when rebinding.
This commit is contained in:
@@ -34,8 +34,54 @@ As a standard action, you can snap your tail to loose a volley of spikes equal t
|
||||
//:: Double Chakra Bind support added
|
||||
//:: Double Totem bind support added
|
||||
//::
|
||||
//:: Updated on: 2026-05-01 12:04:32
|
||||
//::
|
||||
//:: Fixed Bonus feats hanging stay around after
|
||||
//:: reshaping soulmelds.
|
||||
//::
|
||||
//::////////////////////////////////////////////////////////
|
||||
#include "moi_inc_moifunc"
|
||||
#include "moi_inc_moifunc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oMeldshaper = PRCGetSpellTargetObject();
|
||||
int nMeldId = PRCGetSpellId();
|
||||
int nEssentia = GetEssentiaInvested(oMeldshaper);
|
||||
int nBonus = 2 + (nEssentia * 2);
|
||||
effect eLink = EffectLinkEffects(EffectSkillIncrease(SKILL_SPOT, nBonus), EffectSkillIncrease(SKILL_JUMP, nBonus));
|
||||
|
||||
// Check for Waist bind and add Spring Attack if bound
|
||||
int nBoundToWaist = FALSE;
|
||||
if (GetLocalInt(oMeldshaper, "BoundMeld" + IntToString(CHAKRA_WAIST)) == nMeldId ||
|
||||
GetLocalInt(oMeldshaper, "BoundMeld" + IntToString(CHAKRA_DOUBLE_WAIST)) == nMeldId)
|
||||
nBoundToWaist = TRUE;
|
||||
|
||||
if (nBoundToWaist)
|
||||
{
|
||||
eLink = EffectLinkEffects(eLink, EffectBonusFeat(FEAT_SPRING_ATTACK));
|
||||
}
|
||||
|
||||
// Tag the effect link for easy removal
|
||||
eLink = TagEffect(eLink, "SOULMELD_MANTICORE_BELT_FEATS");
|
||||
eLink = SupernaturalEffect(eLink);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oMeldshaper, 9999.0);
|
||||
|
||||
IPSafeAddItemProperty(GetPCSkin(oMeldshaper), ItemPropertyBonusFeat(IP_CONST_MELD_MANTICORE_BELT), 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING);
|
||||
|
||||
// Totem bind (spike volley) <20> check regular or double Totem
|
||||
int nBoundToTotem = FALSE;
|
||||
if (GetLocalInt(oMeldshaper, "BoundMeld" + IntToString(CHAKRA_TOTEM)) == nMeldId ||
|
||||
GetLocalInt(oMeldshaper, "BoundMeld" + IntToString(CHAKRA_DOUBLE_TOTEM)) == nMeldId)
|
||||
nBoundToTotem = TRUE;
|
||||
|
||||
if (nBoundToTotem)
|
||||
{
|
||||
IPSafeAddItemProperty(GetPCSkin(oMeldshaper), ItemPropertyBonusFeat(IP_CONST_MELD_MANTICORE_TOTEM), 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING);
|
||||
}
|
||||
}
|
||||
|
||||
/* #include "moi_inc_moifunc"
|
||||
|
||||
void main()
|
||||
{
|
||||
@@ -69,7 +115,7 @@ void main()
|
||||
{
|
||||
IPSafeAddItemProperty(GetPCSkin(oMeldshaper), ItemPropertyBonusFeat(IP_CONST_MELD_MANTICORE_TOTEM), 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING);
|
||||
}
|
||||
}
|
||||
} */
|
||||
|
||||
/* void main()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user