Fixed rest menu & alignment changer
Fixed rest menu & alignment changer. Updated release archive.
This commit is contained in:
parent
f8f1413d0c
commit
a203d11310
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
_module/ncs/x3_pl_tool01.ncs
Normal file
BIN
_module/ncs/x3_pl_tool01.ncs
Normal file
Binary file not shown.
@ -9,8 +9,8 @@ int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(GetItemPossessedBy(GetPCSpeaker(), "guildpass")!=OBJECT_INVALID)
|
||||
//if(GetItemPossessedBy(GetPCSpeaker(), "guildpass")!=OBJECT_INVALID)
|
||||
return TRUE;
|
||||
|
||||
return FALSE;
|
||||
//return FALSE;
|
||||
}
|
||||
|
@ -11,16 +11,19 @@ int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
if ((GetLevelByClass(CLASS_TYPE_BARBARIAN, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_BARD, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_CELEBRANT_SHARESS, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_HEARTWARDER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_PYROKINETICIST, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_WILD_MAGE, oPC)) >= 1);
|
||||
int nChaotic = (GetLevelByClass(CLASS_TYPE_BARBARIAN, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_BARD, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_CELEBRANT_SHARESS, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_HEARTWARDER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_PYROKINETICIST, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_WILD_MAGE, oPC));
|
||||
|
||||
if (nChaotic > 0)
|
||||
{
|
||||
return TRUE;
|
||||
|
||||
|
||||
return FALSE;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
@ -11,29 +11,32 @@ int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
if ((GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_KNIGHT_CHALICE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_FISTRAZIEL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_VASSAL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_INQUISITOR, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_STALKER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SHINING_BLADE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_OLLAM, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SLAYER_OF_DOMIEL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_CELEBRANT_SHARESS, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_HEARTWARDER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SOLDIER_OF_LIGHT, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SACREDPURIFIER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_INCANDESCENT_CHAMPION, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_KNIGHT_MIDDLECIRCLE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_MORNINGLORD, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SKULLCLAN_HUNTER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_BRIMSTONE_SPEAKER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_HEALER, oPC)) >= 1);
|
||||
int nHoly = (GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_KNIGHT_CHALICE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_FISTRAZIEL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_VASSAL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_INQUISITOR, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_STALKER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SHINING_BLADE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_OLLAM, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SLAYER_OF_DOMIEL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_CELEBRANT_SHARESS, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_HEARTWARDER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SOLDIER_OF_LIGHT, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SACREDPURIFIER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_INCANDESCENT_CHAMPION, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_KNIGHT_MIDDLECIRCLE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_MORNINGLORD, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SKULLCLAN_HUNTER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_BRIMSTONE_SPEAKER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_HEALER, oPC));
|
||||
|
||||
if (nHoly > 0)
|
||||
{
|
||||
return TRUE;
|
||||
|
||||
|
||||
return FALSE;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
@ -9,29 +9,33 @@
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
if ((GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_KNIGHT_CHALICE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_FISTRAZIEL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_VASSAL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_INQUISITOR, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_STALKER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SHINING_BLADE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_OLLAM, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SLAYER_OF_DOMIEL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DIABOLIST, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_MONK, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DWARVEN_DEFENDER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SAMURAI, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_IAIJUTSU_MASTER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_CW_SAMURAI, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_HENSHIN_MYSTIC, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SOHEI, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_KNIGHT, oPC)) >= 1);
|
||||
int nLawful = (GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_KNIGHT_CHALICE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_FISTRAZIEL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_VASSAL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_INQUISITOR, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_STALKER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SHINING_BLADE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_OLLAM, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SLAYER_OF_DOMIEL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DIABOLIST, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_MONK, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DWARVEN_DEFENDER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SAMURAI, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_IAIJUTSU_MASTER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_CW_SAMURAI, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_HENSHIN_MYSTIC, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SOHEI, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_KNIGHT, oPC));
|
||||
|
||||
if (nLawful > 0)
|
||||
{
|
||||
return TRUE;
|
||||
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
@ -9,37 +9,40 @@
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
if ((GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_PALE_MASTER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_BLACKGUARD, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_UR_PRIEST, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_OCULAR, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_BLIGHTLORD, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_TRUENECRO, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_ORCUS, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_BFZ, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_MASTER_OF_SHROUDS, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_PRC_EYE_OF_GRUUMSH, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_BLIGHTER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_JUDICATOR, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_NIGHTSHADE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DISC_BAALZEBUL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DISPATER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_THRALL_OF_GRAZZT_A, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_NECROCARNATE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_GHOST_FACED_KILLER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DISCIPLE_OF_MEPH, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SOUL_EATER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DISCIPLE_OF_ASMODEUS, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_TALON_OF_TIAMAT, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_TRUENECRO, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DIABOLIST, oPC)) >= 1);
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
int nUnholy = (GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_PALE_MASTER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_BLACKGUARD, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_UR_PRIEST, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_OCULAR, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_BLIGHTLORD, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_TRUENECRO, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_ORCUS, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_BFZ, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_MASTER_OF_SHROUDS, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_PRC_EYE_OF_GRUUMSH, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_BLIGHTER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_JUDICATOR, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_NIGHTSHADE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DISC_BAALZEBUL, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DISPATER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_THRALL_OF_GRAZZT_A, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_NECROCARNATE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_GHOST_FACED_KILLER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DISCIPLE_OF_MEPH, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SOUL_EATER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DISCIPLE_OF_ASMODEUS, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_TALON_OF_TIAMAT, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_TRUENECRO, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DIABOLIST, oPC));
|
||||
|
||||
if (nUnholy > 0)
|
||||
{
|
||||
return TRUE;
|
||||
|
||||
|
||||
return FALSE;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
@ -212,12 +212,9 @@ if(GetLocalInt(GetModule(), "MULTI")==TRUE)
|
||||
ExecuteScript("powerimmortal", oPC);
|
||||
}
|
||||
|
||||
//ExecuteScript("prc_rest", oPC);
|
||||
|
||||
ExecuteScript("prc_rest", oPC);
|
||||
//Your code goes here. (This happens when the PC is done resting..)
|
||||
|
||||
ExecuteScript("prc_rest", OBJECT_SELF);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,16 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
//Tell the OnPlayerRest Event Script we can rest...
|
||||
SetLocalInt(oPC, "REST_STARTED", 1);
|
||||
int iHD = GetHitDice(oPC);
|
||||
|
||||
//Make the PC start the XP2 Rest system..
|
||||
AssignCommand(oPC, ActionRest(TRUE));
|
||||
float fDelay = 10.5 + (IntToFloat(iHD)/2);
|
||||
|
||||
//Tell the OnPlayerRest Event Script we can rest...
|
||||
SetLocalInt(oPC, "REST_STARTED", 1);
|
||||
|
||||
//Make the PC start the XP2 Rest system..
|
||||
AssignCommand(oPC, ActionRest(TRUE));
|
||||
|
||||
DelayCommand(fDelay, SetLocalInt(oPC, "REST_STARTED", 0));
|
||||
}
|
||||
|
15
_module/nss/x3_pl_tool01.nss
Normal file
15
_module/nss/x3_pl_tool01.nss
Normal file
@ -0,0 +1,15 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName x3_pl_tool01.nss
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 4/24/2008 3:37:39 PM
|
||||
//:://////////////////////////////////////////////
|
||||
#include "prc_class_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
return;
|
||||
|
||||
}
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user