RATDOG/_module/nss/ra_mod_onnui.nss
Jaysyn904 51e1a2a2b3 2025/07/20 Update
Added PEPS AI.
Updated class & racialtypes 2DAs for the Lost Lands.
Full compile.
2025-07-20 20:28:49 -04:00

29 lines
585 B
Plaintext

#include "nui_i_main"
#include "prc_nui_consts"
void main()
{
ExecuteScript("mod_nui");
NUI();
object oPlayer = NuiGetEventPlayer();
int nToken = NuiGetEventWindow();
string sWindowId = NuiGetWindowId(oPlayer, nToken);
// Open the Power Attack NUI
if(sWindowId == NUI_PRC_POWER_ATTACK_WINDOW)
{
ExecuteScript("prc_nui_pa_event");
}
// Open the Spellbook NUI
if(sWindowId == PRC_SPELLBOOK_NUI_WINDOW_ID
|| sWindowId == NUI_SPELL_DESCRIPTION_WINDOW_ID)
{
ExecuteScript("prc_nui_sb_event");
}
return;
}