Files
PRC8/nwn/nwnprc/trunk/newspellbook/tob_war_recover.nss
Jaysyn904 1fdab87d91 2025/12/17 Update
Changed Shield Specialization to stop the Shield AC message spam.
Forsakers now keep their bonus abilities through server resets.
Added Warblade recovery notification.
Fixed Inscribe Runes CL cap.
Added Inscribe Runes to Runecaster's feat list.
Eagle Claw's icon should only be 1x2.
Blank wands should be equippable.
2025-12-17 19:54:27 -05:00

25 lines
708 B
Plaintext

/*
Recover all warblade maneuvers
Only functions in combat, otherwise call delayed recovery
*/
#include "tob_inc_recovery"
void main()
{
object oInitiator = OBJECT_SELF;
if (GetIsInCombat(oInitiator))
{
SetLocalInt(oInitiator, "WarbladeRecoveryRound", TRUE);
// One round recovery time
DelayCommand(6.0, DeleteLocalInt(oInitiator, "WarbladeRecoveryRound"));
RecoverExpendedManeuvers(oInitiator, MANEUVER_LIST_WARBLADE);
DelayCommand(6.5, FloatingTextStringOnCreature("Maneuver recovery completed.", oInitiator));
}
else
{
// Delayed Recovery Mechanics
ExecuteScript("tob_gen_recover", oInitiator);
}
FloatingTextStringOnCreature("Maneuver recovery initiated.", oInitiator);
}