Tweaked respawn points

Tweaked respawn points.  Tweaked ILR.  Full compile.
This commit is contained in:
Jaysyn904
2023-01-02 16:21:54 -05:00
parent 409981289e
commit 6807c775b4
68 changed files with 84 additions and 84 deletions

View File

@@ -232,7 +232,7 @@ struct itemRestriction GetItemLevelRestriction(object oItem, object oPC)
else
{
int iGPValue = GetGoldPieceValue(oItem);
int iGPValue = GetGoldPieceValue(oItem) / 4;
// Code to check for plotitem and restrict it by its internal value:
// only runs if set (=default)
@@ -241,7 +241,7 @@ struct itemRestriction GetItemLevelRestriction(object oItem, object oPC)
if (GetPlotFlag(oItem) == TRUE)
{
SetPlotFlag(oItem, FALSE);
int iGPValue = GetGoldPieceValue(oItem);
int iGPValue = GetGoldPieceValue(oItem) / 4;
SetPlotFlag(oItem, TRUE);
}
}

View File

@@ -7,7 +7,7 @@ void main()
object oPC = GetLastRespawnButtonPresser();
object oTarget;
location lTarget;
oTarget = GetWaypointByTag("townport");
oTarget = GetWaypointByTag("WP_HOSPITAL");
lTarget = GetLocation(oTarget);
if (!GetIsPC(oPC)) return;

View File

@@ -12,7 +12,7 @@ oPC = GetItemActivator();
object oTarget;
location lTarget;
oTarget = GetWaypointByTag("townport");
oTarget = GetWaypointByTag("WP_TOWNPORT");
lTarget = GetLocation(oTarget);