Skip to content

Commit b0c6dd2

Browse files
committed
Cthonic Depths 12 & Monk Meditation
1 parent 15393e4 commit b0c6dd2

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
-12 Bytes
Binary file not shown.

Zolian.Server.Base/GameScripts/Mundanes/Mileth/Sabonim.cs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,11 @@ public override void OnResponse(WorldClient client, ushort responseID, string ar
139139
break;
140140
case 0x12:
141141
if (!args.Equals("Yellow")) return;
142+
if (client.Aisling.ExpLevel < 20)
143+
{
144+
client.SendOptionsDialog(Mundane, "You are not ready for this attainment yet.");
145+
return;
146+
}
142147
client.Aisling.QuestManager.BeltQuest = "Yellow";
143148
client.SendServerMessage(ServerMessageType.ActiveMessage, $"{{=bGoblin Soldier");
144149
client.SendOptionsDialog(Mundane, "In Eastern Woodlands, search and kill a Goblin Soldier. Return to me when you've completed your task");
@@ -181,6 +186,11 @@ public override void OnResponse(WorldClient client, ushort responseID, string ar
181186
break;
182187
case 0x13:
183188
if (!args.Equals("Orange")) return;
189+
if (client.Aisling.ExpLevel < 40)
190+
{
191+
client.SendOptionsDialog(Mundane, "You are not ready for this attainment yet.");
192+
return;
193+
}
184194
client.Aisling.QuestManager.BeltQuest = "Orange";
185195
client.SendServerMessage(ServerMessageType.ActiveMessage, $"{{=bPolyp x2");
186196
client.SendOptionsDialog(Mundane, "In Abel Dungeon, search and kill two Polyps. Return to me when you've completed your task");
@@ -223,6 +233,11 @@ public override void OnResponse(WorldClient client, ushort responseID, string ar
223233
break;
224234
case 0x14:
225235
if (!args.Equals("Green")) return;
236+
if (client.Aisling.ExpLevel < 60)
237+
{
238+
client.SendOptionsDialog(Mundane, "You are not ready for this attainment yet.");
239+
return;
240+
}
226241
client.Aisling.QuestManager.BeltQuest = "Green";
227242
client.SendServerMessage(ServerMessageType.ActiveMessage, $"{{=bGrimlok Worker x3");
228243
client.SendOptionsDialog(Mundane, "In Pravat Mines, search and kill three Grimlok Workers. Return to me when you've completed your task");
@@ -265,6 +280,11 @@ public override void OnResponse(WorldClient client, ushort responseID, string ar
265280
break;
266281
case 0x15:
267282
if (!args.Equals("Purple")) return;
283+
if (client.Aisling.ExpLevel < 80)
284+
{
285+
client.SendOptionsDialog(Mundane, "You are not ready for this attainment yet.");
286+
return;
287+
}
268288
client.Aisling.QuestManager.BeltQuest = "Purple";
269289
client.SendServerMessage(ServerMessageType.ActiveMessage, $"{{=bMarauder x5");
270290
client.SendOptionsDialog(Mundane, "Deep in Mileth's Crypt, search and kill five Marauders. Return to me when you've completed your task");
@@ -307,6 +327,11 @@ public override void OnResponse(WorldClient client, ushort responseID, string ar
307327
break;
308328
case 0x16:
309329
if (!args.Equals("Blue")) return;
330+
if (client.Aisling.ExpLevel < 99)
331+
{
332+
client.SendOptionsDialog(Mundane, "You are not ready for this attainment yet.");
333+
return;
334+
}
310335
client.Aisling.QuestManager.BeltQuest = "Blue";
311336
client.SendServerMessage(ServerMessageType.ActiveMessage, $"{{=bWisp x2");
312337
client.SendOptionsDialog(Mundane, "Travel to either Western or Eastern Woodlands, search and kill two Wisps. Return to me when you've completed your task");
@@ -349,6 +374,11 @@ public override void OnResponse(WorldClient client, ushort responseID, string ar
349374
break;
350375
case 0x17:
351376
if (!args.Equals("Brown")) return;
377+
if (client.Aisling.ExpLevel < 110)
378+
{
379+
client.SendOptionsDialog(Mundane, "You are not ready for this attainment yet.");
380+
return;
381+
}
352382
client.Aisling.QuestManager.BeltQuest = "Brown";
353383
client.SendServerMessage(ServerMessageType.ActiveMessage, $"{{=bFlies");
354384
client.SendOptionsDialog(Mundane, "Don't you just hate flies? Search and kill a group of them. Return to me when you've completed your task");
@@ -391,6 +421,11 @@ public override void OnResponse(WorldClient client, ushort responseID, string ar
391421
break;
392422
case 0x18:
393423
if (!args.Equals("Red")) return;
424+
if (client.Aisling.ExpLevel < 125)
425+
{
426+
client.SendOptionsDialog(Mundane, "You are not ready for this attainment yet.");
427+
return;
428+
}
394429
client.Aisling.QuestManager.BeltQuest = "Red";
395430
client.SendServerMessage(ServerMessageType.ActiveMessage, $"{{=bLich Lord");
396431
client.SendOptionsDialog(Mundane, "I promise this will be the last run to the crypt I send you on. I need you to kill a Lich Lord. Return to me when you've completed your task");
@@ -433,6 +468,11 @@ public override void OnResponse(WorldClient client, ushort responseID, string ar
433468
break;
434469
case 0x19:
435470
if (!args.Equals("Black")) return;
471+
if (client.Aisling.ExpLevel < 200)
472+
{
473+
client.SendOptionsDialog(Mundane, "You are not ready for this attainment yet.");
474+
return;
475+
}
436476
client.Aisling.QuestManager.BeltQuest = "Black";
437477
client.SendServerMessage(ServerMessageType.ActiveMessage, $"{{=bOld One");
438478
client.SendOptionsDialog(Mundane, "Soon I will call you my equal, my brother. Go find and kill an ancient one called -Old One-, return to me when you've completed your task");

0 commit comments

Comments
 (0)