2025/07/19 Update

Added PEPS.
Full compile.
This commit is contained in:
Jaysyn904
2025-07-19 09:27:41 -04:00
parent 001fb330a2
commit 0e92965295
533 changed files with 144360 additions and 736 deletions

View File

@@ -0,0 +1,18 @@
/*//////////////////////////////////////////////////////////////////////////////
Script: 0c_if_SkillRank
Programmer: Philos
////////////////////////////////////////////////////////////////////////////////
Text Appears When script that checks to see if the caller's skill ranks
are above or equal to the param value.
Param:
nSkill - the skill number for the skill. See skills.2da.
nRank - the rank required.
*///////////////////////////////////////////////////////////////////////////////
#include "0i_main"
int StartingConditional()
{
string sSkill = GetScriptParam("nSkill");
if(sSkill == "") return FALSE;
int nRank = StringToInt(GetScriptParam("nRank"));
return (GetSkillRank(StringToInt(sSkill)) >= nRank);
}