Updated Dodge-proxy prereqs
Updated Dodge-proxy prereqs for Mobility, Spring Attack, Quick Staff & Sidestep Charge. Updated Piercing Cold to ignore Reserve Feats. Updated elven blades to use Weapon Finesse properly (NWNEE change). Updated release archive.
This commit is contained in:
@@ -2458,13 +2458,27 @@ effect PRCEffectDamage(object oTarget, int nDamageAmount, int nDamageType=DAMAGE
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_LOS_EVIL_10), oTarget);
|
||||
}
|
||||
}
|
||||
|
||||
//:: Get the current spell being cast
|
||||
int nCurrentSpell = PRCGetSpellId();
|
||||
|
||||
//:: Skip Reserve Feat spellIDs
|
||||
if (nCurrentSpell < 19359 || nCurrentSpell > 19396)
|
||||
{
|
||||
//:: Piercing Cold for the Frost Mage
|
||||
if (GetLevelByClass(CLASS_TYPE_FROST_MAGE, oCaster) >= 4 && nDamageType == DAMAGE_TYPE_COLD)
|
||||
{
|
||||
int nCurrentHP = GetCurrentHitPoints(oTarget);
|
||||
DelayCommand(0.1, DoPiercingCold(oCaster, oTarget, nDamageAmount, nCurrentHP));
|
||||
}
|
||||
}
|
||||
|
||||
// Piercing Cold for the Frost Mage
|
||||
/* // Piercing Cold for the Frost Mage
|
||||
if (GetLevelByClass(CLASS_TYPE_FROST_MAGE, oCaster) >= 4 && nDamageType == DAMAGE_TYPE_COLD)
|
||||
{
|
||||
int nCurrentHP = GetCurrentHitPoints(oTarget);
|
||||
DelayCommand(0.1, DoPiercingCold(oCaster, oTarget, nDamageAmount, nCurrentHP));
|
||||
}
|
||||
} */
|
||||
|
||||
// Die DR die
|
||||
if (GetLocalInt(oCaster, "MoveIgnoreDR"))
|
||||
|
@@ -707,7 +707,8 @@ void DoWeaponEquip(object oPC, object oItem, int nHand)
|
||||
//check for proficiency
|
||||
DoProficiencyCheck(oPC, oItem, nHand);
|
||||
|
||||
//simulate Weapon Finesse for Elven *blades
|
||||
//:: This is no longer needed with NWN:EE - Jaysyn
|
||||
/* //simulate Weapon Finesse for Elven *blades
|
||||
if((nBaseType == BASE_ITEM_ELVEN_LIGHTBLADE || nBaseType == BASE_ITEM_ELVEN_THINBLADE
|
||||
|| nBaseType == BASE_ITEM_ELVEN_COURTBLADE) && GetHasFeat(FEAT_WEAPON_FINESSE, oPC) && nElfFinesse > 0)
|
||||
{
|
||||
@@ -715,7 +716,7 @@ void DoWeaponEquip(object oPC, object oItem, int nHand)
|
||||
SetCompositeAttackBonus(oPC, "ElfFinesseRH", nElfFinesse, nHand);
|
||||
else if(nHand == ATTACK_BONUS_OFFHAND)
|
||||
SetCompositeAttackBonus(oPC, "ElfFinesseLH", nElfFinesse, nHand);
|
||||
}
|
||||
} */
|
||||
//Two-hand damage bonus
|
||||
if(!GetWeaponRanged(oItem) && PRCLargeWeaponCheck(nBaseType, nWeaponSize)
|
||||
&& (nWeaponSize == nSize + 1 || (nWeaponSize == nRealSize + 1 && GetItemInSlot(INVENTORY_SLOT_LEFTHAND, oPC) == OBJECT_INVALID) && nRealSize > CREATURE_SIZE_SMALL))
|
||||
|
Reference in New Issue
Block a user