Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,33 @@
/*
Recover all swordsage maneuvers
Only functions in combat, otherwise call delayed recovery
*/
#include "tob_inc_tobfunc"
#include "inc_dynconv"
#include "x0_i0_modes"
void main()
{
object oInitiator = OBJECT_SELF;
if (GetIsInCombat(oInitiator))
{
int nStealth = FALSE;
if(GetStealthMode(oInitiator) == STEALTH_MODE_ACTIVATED) nStealth = TRUE;
AssignCommand(oInitiator, ClearAllActions(TRUE));
StartDynamicConversation("tob_swd_rcrcnv", oInitiator, DYNCONV_EXIT_NOT_ALLOWED, FALSE, TRUE, oInitiator);
if (nStealth)
{
SetActionMode(oInitiator, ACTION_MODE_STEALTH, TRUE);
UseStealthMode();
ActionUseSkill(SKILL_HIDE, oInitiator);
ActionUseSkill(SKILL_MOVE_SILENTLY, oInitiator);
}
}
else
{
// Delayed Recovery Mechanics
ExecuteScript("tob_gen_recover", oInitiator);
}
}