Expanded Disciple of Mephistopheles for epic progression. Expanded Disciple of Soul Eater for epic progression. Crusader's Aura of Triumph has a range of Touch. Swordsage's Pearl of Black Doubt may actually increase AC now. Crusader's Steely Resolve should start back up after logging back into MP. Hopefully Desert Wind strikes will no longer burn the wielder when using Flame Weapon. Keen Senses should go away when leaving Hunter's Senses stance. Moment of Prescience should be calculating bonuses correctly.
20 lines
616 B
Plaintext
20 lines
616 B
Plaintext
#include "prc_inc_combmove"
|
|
|
|
void main()
|
|
{
|
|
object oPC = OBJECT_SELF;
|
|
object oTarget = PRCGetSpellTargetObject();
|
|
|
|
if (oTarget == oPC) return; // No hitting yourself
|
|
if (GetLocalInt(oPC, "CombatLoopProtection")) return; // Stop the damn loop
|
|
|
|
int nBonus = 0;
|
|
// This counteracts the bonus from Improved Disarm if the PC has it
|
|
if (GetHasFeat(FEAT_PRC_IMP_DISARM, oPC)) nBonus -= 4;
|
|
|
|
DoDisarm(oPC, oTarget, nBonus, FALSE, FALSE);
|
|
ClearAllActions();
|
|
|
|
SetLocalInt(oPC, "CombatLoopProtection", TRUE);
|
|
DelayCommand(4.0, DeleteLocalInt(oPC, "CombatLoopProtection"));
|
|
} |