Initial upload

Initial upload.
This commit is contained in:
Jaysyn904
2023-09-25 21:32:17 -04:00
parent c1b271b363
commit ec287507a1
10074 changed files with 8442145 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
// "I am not skillful enough to set that trap."
int StartingConditional()
{
int nBase = GetLocalInt(OBJECT_SELF, "TRAP_BASE_NUMBER");
string sDC = Get2DAString("traps", "SetDC", nBase);
int nDC = StringToInt(sDC);
int nSkill = GetSkillRank(SKILL_SET_TRAP) + 20;
string sSkill = IntToString(nSkill);
if (nSkill < nDC)
{
SendMessageToPC(GetMaster(), "SetTrapDC: " + sDC + " Skill: " + sSkill);
return TRUE;
}
return FALSE;
}