2025/12/03 Update
Finished Hidden Talent. Tweaked Factotum abilities to hopefully not run out of uses. Tweaked Twinfiends skill function. Hopefully fixed the Factotum's Inspiration not generating issues. Hopefullly fixed Double Chakra bind. Hopefully fixed Totemist's Double Totem Bind. Hopefully fixed Girallon Arms. Fixed Kuthrik Claws not granting Weapon Finesse. Added missing medium centaur hoof slam uti. Added new tentacle slam creature weapon (works the same, looks better). Updated Spell Effect NUI to ignore system spells (@Rakiov). Fixed typo in Guided Strike.
This commit is contained in:
@@ -26,9 +26,96 @@ Incarnum forms two additional, powerful arms that spring out from your ribs. The
|
||||
|
||||
You gain four claws that you can use as natural weapons, dealing 1d4 points of damage with each claw. You can make a single claw attack as a primary attack, using your full attack bonus and adding your Strength bonus on your damage roll. You can make up to three additional claw attacks as secondary attacks, following either a primary claw attack or an attack with a weapon. Every point of essentia you invest in your girallon arms grants you a +1 enhancement bonus on attack rolls and damage rolls with your claw attacks.
|
||||
*/
|
||||
|
||||
//::////////////////////////////////////////////////////////
|
||||
//::
|
||||
//:: Updated by: Jaysyn
|
||||
//:: Updated on: 2025-12-02 15:04:22
|
||||
//::
|
||||
//:: ItemPropertyTag() support added
|
||||
//:: Double Chakra support added
|
||||
//::
|
||||
//::////////////////////////////////////////////////////////
|
||||
#include "moi_inc_moifunc"
|
||||
|
||||
void Argh(object oMeldshaper, int nEssentia)
|
||||
{
|
||||
FloatingTextStringOnCreature("Girallon Arms Essentia Bonus of "+IntToString(nEssentia)+" applying to "+GetName(GetItemInSlot(INVENTORY_SLOT_CWEAPON_L, oMeldshaper)), oMeldshaper, FALSE);
|
||||
AddItemProperty(DURATION_TYPE_PERMANENT, ItemPropertyEnhancementBonus(nEssentia), GetItemInSlot(INVENTORY_SLOT_CWEAPON_L, oMeldshaper));
|
||||
IPSafeAddItemProperty(GetItemInSlot(INVENTORY_SLOT_CWEAPON_L, oMeldshaper), ItemPropertyOnHitCastSpell(IP_CONST_ONHIT_CASTSPELL_ONHIT_UNIQUEPOWER, 1));
|
||||
itemproperty ipTest = GetFirstItemProperty(GetItemInSlot(INVENTORY_SLOT_CWEAPON_L, oMeldshaper));
|
||||
while(GetIsItemPropertyValid(ipTest))
|
||||
{
|
||||
if(GetItemPropertyType(ipTest) == ITEM_PROPERTY_ENHANCEMENT_BONUS)
|
||||
{
|
||||
int nEnhance = GetItemPropertyCostTableValue(ipTest);
|
||||
FloatingTextStringOnCreature("Girallon Arms Enhancement Bonus of "+IntToString(nEnhance)+" applying to "+GetName(GetItemInSlot(INVENTORY_SLOT_CWEAPON_L, oMeldshaper)), oMeldshaper, FALSE);
|
||||
}
|
||||
ipTest = GetNextItemProperty(GetItemInSlot(INVENTORY_SLOT_CWEAPON_L, oMeldshaper));
|
||||
}
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
object oMeldshaper = PRCGetSpellTargetObject();
|
||||
object oSkin = GetPCSkin(oMeldshaper);
|
||||
|
||||
int nMeldId = PRCGetSpellId();
|
||||
int nEssentia = GetEssentiaInvested(oMeldshaper);
|
||||
int nBonus = 2 + (nEssentia * 2);
|
||||
|
||||
effect eLink = EffectSkillIncrease(SKILL_CLIMB, nBonus);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, SupernaturalEffect(eLink), oMeldshaper, 9999.0);
|
||||
IPSafeAddItemProperty(GetPCSkin(oMeldshaper), ItemPropertyBonusFeat(IP_CONST_MELD_GIRALLON_ARMS), 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING);
|
||||
|
||||
// Check if bound to Arms chakra
|
||||
int nBoundToArms = FALSE;
|
||||
if (GetLocalInt(oMeldshaper, "BoundMeld" + IntToString(CHAKRA_ARMS)) == nMeldId||
|
||||
GetLocalInt(oMeldshaper, "BoundMeld" + IntToString(CHAKRA_DOUBLE_ARMS)) == nMeldId)
|
||||
nBoundToArms = TRUE;
|
||||
|
||||
if (nBoundToArms)
|
||||
{
|
||||
// Add the rend ipfeat and tag it
|
||||
itemproperty ipRend = ItemPropertyBonusFeat(IP_CONST_FEAT_REND);
|
||||
ipRend = TagItemProperty(ipRend, "IP_GIRALLON_REND");
|
||||
IPSafeAddItemProperty(oSkin, ipRend, 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Remove the rend IP by tag
|
||||
itemproperty ip = GetFirstItemProperty(oSkin);
|
||||
while (GetIsItemPropertyValid(ip))
|
||||
{
|
||||
if (GetItemPropertyTag(ip) == "IP_GIRALLON_REND")
|
||||
{
|
||||
RemoveItemProperty(oSkin, ip);
|
||||
}
|
||||
ip = GetNextItemProperty(oSkin);
|
||||
}
|
||||
}
|
||||
|
||||
// Check if bound to Totem chakra
|
||||
int nBoundToTotem = FALSE;
|
||||
if (GetLocalInt(oMeldshaper, "BoundMeld" + IntToString(CHAKRA_TOTEM)) == nMeldId ||
|
||||
GetLocalInt(oMeldshaper, "BoundMeld" + IntToString(CHAKRA_DOUBLE_TOTEM)) == nMeldId)
|
||||
nBoundToTotem = TRUE;
|
||||
|
||||
if (nBoundToTotem)
|
||||
{
|
||||
string sResRef = "prc_claw_1d6l_"; // For some reason, this is the ResRef of the 1d4 claws. <20>\_(-_-)_/<2F>
|
||||
int nSize = PRCGetCreatureSize(oMeldshaper);
|
||||
sResRef += GetAffixForSize(nSize);
|
||||
AddNaturalPrimaryWeapon(oMeldshaper, sResRef, 1);
|
||||
AddNaturalSecondaryWeapon(oMeldshaper, sResRef, 3);
|
||||
DelayCommand(0.25, Argh(oMeldshaper, nEssentia));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* #include "moi_inc_moifunc"
|
||||
|
||||
void Argh(object oMeldshaper, int nEssentia)
|
||||
{
|
||||
FloatingTextStringOnCreature("Girallon Arms Essentia Bonus of "+IntToString(nEssentia)+" applying to "+GetName(GetItemInSlot(INVENTORY_SLOT_CWEAPON_L, oMeldshaper)), oMeldshaper, FALSE);
|
||||
@@ -49,14 +136,46 @@ void Argh(object oMeldshaper, int nEssentia)
|
||||
|
||||
void main()
|
||||
{
|
||||
object oMeldshaper = PRCGetSpellTargetObject();
|
||||
int nEssentia = GetEssentiaInvested(oMeldshaper);
|
||||
int nBonus = 2 + (nEssentia * 2);
|
||||
effect eLink = EffectSkillIncrease(SKILL_CLIMB, nBonus);
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, SupernaturalEffect(eLink), oMeldshaper, 9999.0);
|
||||
object oMeldshaper = PRCGetSpellTargetObject();
|
||||
object oSkin = GetPCSkin(oMeldshaper);
|
||||
|
||||
int nMeldId = PRCGetSpellId();
|
||||
int nClass = GetMeldshapingClass(oMeldshaper);
|
||||
int nEssentia = GetEssentiaInvested(oMeldshaper);
|
||||
int nBonus = 2 + (nEssentia * 2);
|
||||
|
||||
effect eLink = EffectSkillIncrease(SKILL_CLIMB, nBonus);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, SupernaturalEffect(eLink), oMeldshaper, 9999.0);
|
||||
IPSafeAddItemProperty(GetPCSkin(oMeldshaper), ItemPropertyBonusFeat(IP_CONST_MELD_GIRALLON_ARMS), 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING);
|
||||
if (GetIsMeldBound(oMeldshaper) == CHAKRA_ARMS) IPSafeAddItemProperty(GetPCSkin(oMeldshaper), ItemPropertyBonusFeat(IP_CONST_FEAT_REND), 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING);
|
||||
if (GetIsMeldBound(oMeldshaper) == CHAKRA_TOTEM)
|
||||
//if (GetIsMeldBound(oMeldshaper) == CHAKRA_ARMS) IPSafeAddItemProperty(GetPCSkin(oMeldshaper), ItemPropertyBonusFeat(IP_CONST_FEAT_REND), 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING);
|
||||
|
||||
if (GetIsMeldBound(oMeldshaper) == CHAKRA_ARMS)
|
||||
{
|
||||
// Add the rend IP with a unique tag
|
||||
itemproperty ipRend = ItemPropertyBonusFeat(IP_CONST_FEAT_REND);
|
||||
ipRend = TagItemProperty(ipRend, "IP_GIRALLON_REND");
|
||||
IPSafeAddItemProperty(oSkin, ipRend, 9999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Remove the rend IP by tag
|
||||
itemproperty ip = GetFirstItemProperty(oSkin);
|
||||
while (GetIsItemPropertyValid(ip))
|
||||
{
|
||||
if (GetItemPropertyTag(ip) == "IP_GIRALLON_REND")
|
||||
{
|
||||
RemoveItemProperty(oSkin, ip);
|
||||
}
|
||||
ip = GetNextItemProperty(oSkin);
|
||||
}
|
||||
}
|
||||
|
||||
//if (GetIsMeldBound(oMeldshaper) == CHAKRA_TOTEM)
|
||||
|
||||
int nBoundChakra = GetIsMeldBound(oMeldshaper);
|
||||
if (nBoundChakra == CHAKRA_TOTEM || nBoundChakra == CHAKRA_DOUBLE_TOTEM)
|
||||
|
||||
{
|
||||
string sResRef = "prc_claw_1d6l_"; // For some reason, this is the ResRef of the 1d4 claws. <20>\_(-_-)_/<2F>
|
||||
int nSize = PRCGetCreatureSize(oMeldshaper);
|
||||
@@ -65,4 +184,4 @@ void main()
|
||||
AddNaturalSecondaryWeapon(oMeldshaper, sResRef, 3);
|
||||
DelayCommand(0.25, Argh(oMeldshaper, nEssentia));
|
||||
}
|
||||
}
|
||||
} */
|
||||
Reference in New Issue
Block a user