Tweaked respawn points
Tweaked respawn points. Tweaked ILR. Full compile.
This commit is contained in:
		| @@ -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); | ||||
|             } | ||||
|         } | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
| @@ -12,7 +12,7 @@ oPC = GetItemActivator(); | ||||
|  | ||||
| object oTarget; | ||||
| location lTarget; | ||||
| oTarget = GetWaypointByTag("townport"); | ||||
| oTarget = GetWaypointByTag("WP_TOWNPORT"); | ||||
|  | ||||
| lTarget = GetLocation(oTarget); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user