Henchman work

Henchman work.
This commit is contained in:
Jaysyn904
2021-10-14 18:40:47 -04:00
parent 7fab5d1710
commit 2bef86b5bc
30 changed files with 33202 additions and 1383 deletions

View File

@@ -0,0 +1,11 @@
void main()
{
// Get the creature who triggered this event.
object oPC = GetLastUsedBy();
// Give 3000 experience to the PC.
GiveXPToCreature(oPC, 30000);
// Send a message to the player's chat window.
SendMessageToPC(oPC, "" + GetName(oPC) + " received XP");
}

View File

@@ -0,0 +1,16 @@
//::///////////////////////////////////////////////
//:: henchlvl_fight48
//:: Copyright (c) 2021 Project RATDOG
//:://////////////////////////////////////////////
/*
Sets the Fighter package to Pit Fighter
*/
//:://////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: Oct 13th 2021
//:://////////////////////////////////////////////
void main()
{
SetLocalInt(OBJECT_SELF, "ClassPackage", 134); //Fighter Finesse
}

View File

@@ -0,0 +1,17 @@
//::///////////////////////////////////////////////
//:: henchlevel_reaping
//:: Copyright (c) 2021 Project RATDOG
//:://////////////////////////////////////////////
/*
Sets the levelup mode to secondary class
*/
//:://////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: Oct 13th 2021
//:://////////////////////////////////////////////
void main()
{
SetLocalInt(OBJECT_SELF, "NewClass", 48); // Reaping Mauler
SetLocalInt(OBJECT_SELF, "ClassPackage", 134);
}

View File

@@ -0,0 +1,14 @@
int StartingConditional()
{
int iResult;
iResult = (GetClassByPosition(1, OBJECT_SELF) == 48 ||
GetClassByPosition(2, OBJECT_SELF) == 48 || // Reaping Mauler
GetClassByPosition(3, OBJECT_SELF) == 48 ||
GetClassByPosition(3, OBJECT_SELF) == CLASS_TYPE_INVALID) &&
(GetSkillRank(SKILL_TUMBLE, OBJECT_SELF) >= 5) &&
(GetHasFeat(FEAT_IMPROVED_UNARMED_STRIKE, OBJECT_SELF)) &&
(GetBaseAttackBonus(OBJECT_SELF) >= 5) &&
(GetLevelByClass(48, OBJECT_SELF) != 40); // Reaping Mauler
return iResult;
}