20025/05/27 Late Update
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.
This commit is contained in:
@@ -17,9 +17,23 @@
|
||||
void main()
|
||||
{
|
||||
// fill the variables
|
||||
object oPC = OBJECT_SELF;
|
||||
object oTarget = PRCGetSpellTargetObject();
|
||||
object oItem = GetSpellCastItem();
|
||||
object oPC = OBJECT_SELF;
|
||||
object oItem = GetSpellCastItem();
|
||||
object oTarget = GetSpellTargetObject(); // Might still be SELF in some cases
|
||||
|
||||
if (oTarget == OBJECT_INVALID || oTarget == oPC)
|
||||
{
|
||||
if (GetIsObjectValid(GetAttackTarget(oPC)))
|
||||
{
|
||||
oTarget = GetAttackTarget(oPC);
|
||||
}
|
||||
}
|
||||
|
||||
if (DEBUG && oTarget == oPC)
|
||||
{
|
||||
DoDebug("Warning: DW OnHit is attempting to apply damage to self. Skipped.");
|
||||
}
|
||||
|
||||
int nLevel = GetInitiatorLevel(oPC, CLASS_TYPE_SWORDSAGE);
|
||||
int nSpellId = GetLocalInt(oPC, "DesertWindBoost");
|
||||
if(DEBUG) DoDebug("tob_dw_onhit: nSpellId " + IntToString(nSpellId));
|
||||
|
Reference in New Issue
Block a user