From c272dcb128037a647692a02721d02acd51d26002 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 23 Jun 2018 11:28:49 -0300 Subject: mes col(l("")) is DEPRECATED, move everything to mesc l(""). mesc is harder to see, but it looks better and is less confusing regarding l() --- npc/functions/class.txt | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'npc/functions/class.txt') diff --git a/npc/functions/class.txt b/npc/functions/class.txt index b4d1466e3..09db90013 100644 --- a/npc/functions/class.txt +++ b/npc/functions/class.txt @@ -160,11 +160,11 @@ L_T2_Fail: delitem SunnyCrystal, 1; } else { mesn; - mes col(l("WARNING. YOU ARE CHEATING THE SUNNY CRYSTAL QUEST."), 1); + mesc l("WARNING. YOU ARE CHEATING THE SUNNY CRYSTAL QUEST."), 1; next; mesn; - mes col(l("YOU WILL BE PENALIZED WITH 60% OF HEALTH."), 1); - mes col(l("IF YOU DIE, YOU'LL SUFFER THE EXP PENALTY."), 1); + mesc l("YOU WILL BE PENALIZED WITH 60% OF HEALTH."), 1; + mesc l("IF YOU DIE, YOU'LL SUFFER THE EXP PENALTY."), 1; percentheal -60, -100; close; } @@ -175,18 +175,18 @@ L_T2_Fail: delitem JesusalvaGrimorium, 1; } else { mesn; - mes col(l("WARNING. YOU ARE CHEATING THE GRIMORIE QUEST."), 1); + mesc l("WARNING. YOU ARE CHEATING THE GRIMORIE QUEST."), 1; next; mesn; - mes col(l("YOU WILL BE PENALIZED WITH 70% OF HEALTH."), 1); - mes col(l("IF YOU DIE, YOU'LL SUFFER THE EXP PENALTY."), 1); + mesc l("YOU WILL BE PENALIZED WITH 70% OF HEALTH."), 1; + mesc l("IF YOU DIE, YOU'LL SUFFER THE EXP PENALTY."), 1; percentheal -70, -100; close; } } - mes col(l(".:: Mission Failed ::."), 1); - mes col(l("You ran out of time."), 1); + mesc l(".:: Mission Failed ::."), 1; + mesc l("You ran out of time."), 1; mes ""; mes l("You should have gotten here @@.", FuzzyTime(QUEST_ELEVARTEMPO,0,2)); ST_TIER=1; @@ -203,7 +203,7 @@ L_T2_S0: if (getskilllv(.@CLASS) == 1 && MAGIC_LVL >= 2 && ST_TIER == 6) goto L_T2_S6; if (getskilllv(.@CLASS) == 1 && MAGIC_LVL >= 2 && ST_TIER <= 9) goto L_T2_S7; if (getskilllv(.@CLASS) == 1 && MAGIC_LVL >= 2 && ST_TIER == 10) goto L_T2_Final; - mes col(l("Error, error, L_T2_S0 General Error, REPORT ME"), 9); + mesc l("Error, error, L_T2_S0 General Error, REPORT ME"); close; L_T2_S1: @@ -241,10 +241,10 @@ L_T2_S1: set QUEST_ELEVARTEMPO, gettimetick(2) + (60 * 35); getexp 400, 0; mesn; - mes col(l("The class master mix the powder with the slime inside the bottle, and makes some weird mixture."), 9); + mesc l("The class master mix the powder with the slime inside the bottle, and makes some weird mixture."); next; mesn; - mes col(l("He pours something on it, you're not sure what. He then utters some magic words."), 9); + mesc l("He pours something on it, you're not sure what. He then utters some magic words."); next; // Reset timer, this is the place where it should really happen. set QUEST_ELEVARTEMPO, gettimetick(2) + (60 * 35); @@ -275,7 +275,7 @@ L_T2_S3: mesq l("Good, you did it!"); next; mesn; - mes col(l("*chants more words, while the crystal hovers the potion*"), 9); + mesc l("*chants more words, while the crystal hovers the potion*"); next; L_T2_S4: @@ -303,7 +303,7 @@ L_T2_S4: getexp .@r*3, 0; //getitem MagicPotion, 1; - mes col(l("You quickly give him the herbs, and he skillfully mix them on a potion."), 9); + mesc l("You quickly give him the herbs, and he skillfully mix them on a potion."); next; // You'll get a random amount of time, based on spent herbs // Usually, 10~73 sec, being 73 sec = 1m13s @@ -340,8 +340,8 @@ L_T2_Final: skill(SM_PROVOKE, 1, 0); addtoskill(.@CLASS,2,0); getexp 40000, 0; // Yes, 40k experience points. Waw. - mes col(l(".:: Congratulations! ::."), 2); - mes col(l("You advanced your tier!"), 2); + mesc l(".:: Congratulations! ::."), 2; + mesc l("You advanced your tier!"), 2; next; mesn; mesq l("Keep the Grimorie with you. It's the proof you are now Tier 2. The book shall guide your advances!"); -- cgit v1.2.3-70-g09d2