2025/11/20 Update

Updated epic swashbucker tlk.
Added notes on Martial Study.
Updated Shadow Servant to scale with Shadow Master level, per PnP.
Made Disciple of Baalzebul's CHA boost intrinsic.
Swarm of Arrows is an Eldritch Knight epic bonus feat.
Epic eldritch theurge is 11th level, not 21st level.
Updated Shadowdancer weapon proficiencies.
WP: Scythe was a usable feat for Warblade.
Gaseous Form added to iprp_spells.
Set Favoured Soul's Regen X Wounds spells to the correct spell level.
Updated Twinfiend to not suck.
Tweaked GetMaxPossibleHP for Undead & Constructs.
Updated PRCIsFlying() for newer CEP2 wings.
More fixes and updated for NUI levelup menu. (@Rakiov)
Added support for de-leveling AMS classes (@Rakiov)
Zakya Rakshasa have a claw & bite attack.
Added check to end grapples after target death.
Removed debug message in GetHighestSpellAvailableByDescriptor()
Monsters won't summon uncontrolled undead.
Added Signal Event to Luminous Armor.
Corrected Signal Event on Shield of Faith.
This commit is contained in:
Jaysyn904
2025-11-20 21:36:52 -05:00
parent 8e82907d07
commit 80070703b4
54 changed files with 26753 additions and 20944 deletions

View File

@@ -55,13 +55,25 @@ int DoPower(object oManifester, object oTarget, struct manifestation manif)
// It's a creature, target their primary weapon
oTarget = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oTarget);
}
// Make sure the target is either weapon or ammo
// Validate that the target is a weapon or ammunition
int bIsWeapon = GetWeaponRanged(oTarget) || IPGetIsMeleeWeapon(oTarget);
int nBase = GetBaseItemType(oTarget);
int bIsAmmo = nBase == BASE_ITEM_ARROW || nBase == BASE_ITEM_BOLT || nBase == BASE_ITEM_BULLET;
if (!(bIsWeapon || bIsAmmo))
{
oTarget = OBJECT_INVALID;
}
/* // Make sure the target is either weapon or ammo
if(!(GetWeaponRanged(oTarget) || IPGetIsMeleeWeapon(oTarget) ||
GetBaseItemType(oTarget) == BASE_ITEM_ARROW ||
GetBaseItemType(oTarget) == BASE_ITEM_BOLT ||
GetBaseItemType(oTarget) == BASE_ITEM_BULLET
) )
oTarget = OBJECT_INVALID;
oTarget = OBJECT_INVALID; */
// Make sure we have a valid target
if(!GetIsObjectValid(oTarget))