Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
/*
|
|
----------------
|
|
Claw at the Moon
|
|
|
|
tob_stdr_stnvise.nss
|
|
----------------
|
|
|
|
08/06/07 by Stratovarius
|
|
*/ /** @file
|
|
|
|
Claw at the Moon
|
|
|
|
Tiger Claw (Strike)
|
|
Level: Swordsage 2, Warblade 2
|
|
Initiation Action: 1 Standard Action
|
|
Range: Melee Attack
|
|
Target: One Creature
|
|
|
|
You leap into the air, catching your foe off guard as you slice down into him.
|
|
|
|
Make a jump check with a DC equal to the target's AC. If it succeeds, you deal an extra
|
|
2d6 damage on your attack. If it fails, you deal damage normally.
|
|
*/
|
|
|
|
#include "tob_inc_move"
|
|
#include "tob_movehook"
|
|
#include "prc_inc_combmove"
|
|
|
|
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)
|
|
{
|
|
int nDamage = 0;
|
|
int nAC = GetDefenderAC(oTarget, oInitiator);
|
|
if(GetIsSkillSuccessful(oInitiator, SKILL_JUMP, nAC)) nDamage = d6(2);
|
|
effect eNone;
|
|
object oWeap = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oInitiator);
|
|
int nBonus = TOBSituationalAttackBonuses(oInitiator, DISCIPLINE_TIGER_CLAW);
|
|
DelayCommand(0.0, PerformAttack(oTarget, oInitiator, eNone, 0.0, nBonus, nDamage, GetWeaponDamageType(oWeap), "Claw at the Moon Hit", "Claw at the Moon Miss"));
|
|
DelayCommand(0.1, TigerBlooded(oInitiator, oTarget));
|
|
}
|
|
} |