Henchman work
Henchman work.
This commit is contained in:
11
_module/nss/clickforxp.nss
Normal file
11
_module/nss/clickforxp.nss
Normal 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");
|
||||
}
|
16
_module/nss/henchlvl_fight48.nss
Normal file
16
_module/nss/henchlvl_fight48.nss
Normal 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
|
||||
}
|
17
_module/nss/henchlvl_reaping.nss
Normal file
17
_module/nss/henchlvl_reaping.nss
Normal 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);
|
||||
}
|
14
_module/nss/henchlvl_reapta.nss
Normal file
14
_module/nss/henchlvl_reapta.nss
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user