PRC8/nwn/nwnprc/trunk/newspellbook/tob_tgcw_wlvrnst.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

56 lines
1.8 KiB
Plaintext

/*
----------------
Wolverine Stance
tob_tgcw_wlvrnst.nss
----------------
27/04/07 by Stratovarius
*/ /** @file
Wolverine Stance
Tiger Claw (Stance)
Level: Swordsage 3, Warblade 3
Initiation Action: 1 Swift Action
Range: Personal.
Target: You.
Duration: Stance.
Like a cornered wolverine, you fight with unmatched ferocity and rage when your opponents force you into close quarters.
You may use any weapon in a grapple, and do not take the -4 penalty to attack. If grappling a foe larger than you, you gain a +4 damage bonus.
*/
#include "tob_inc_move"
#include "tob_movehook"
//#include "prc_alterations"
void main()
{
if (!PreManeuverCastCode())
{
// If code within the PreManeuverCastCode (i.e. UMD) reports FALSE, do not run this spell
return;
}
// End of Spell Cast Hook
object oInitiator = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
struct maneuver move = EvaluateManeuver(oInitiator, oTarget);
if(move.bCanManeuver)
{
effect eDur = EffectVisualEffect(VFX_DUR_BLOOD_FOUNTAIN);
if (GetHasDefensiveStance(oInitiator, DISCIPLINE_TIGER_CLAW))
eDur = EffectLinkEffects(eDur, EffectSavingThrowIncrease(SAVING_THROW_ALL, 2, SAVING_THROW_TYPE_ALL));
if (GetLevelByClass(CLASS_TYPE_BLOODCLAW_MASTER, oInitiator) >= 2)
{
eDur = EffectLinkEffects(eDur, EffectMovementSpeedIncrease(33));
eDur = EffectLinkEffects(eDur, EffectACIncrease(1));
}
if (GetLocalInt(oInitiator, "TigerFangSharpClaw")) eDur = EffectLinkEffects(eDur, EffectDamageIncrease(DAMAGE_BONUS_1, DAMAGE_TYPE_BASE_WEAPON));
SPApplyEffectToObject(DURATION_TYPE_PERMANENT, ExtraordinaryEffect(eDur), oTarget);
}
}