PRC8_fork/trunk/newspellbook/tob_war_recover.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

22 lines
536 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);
}
else
{
// Delayed Recovery Mechanics
ExecuteScript("tob_gen_recover", oInitiator);
}
}