From 0baaf2674734e59ddaf27c326a6bdf07d34896eb Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 26 Feb 2020 10:44:59 -0300 Subject: De-hardcode the battle configuration flags (BCONF) Reason: Automatize and protect the EXP Bonus on TMW2 Day Event. --- npc/003-3/malindou.txt | 53 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 51 insertions(+), 2 deletions(-) (limited to 'npc/003-3/malindou.txt') diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 56290a7a5..121447753 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -15,7 +15,6 @@ OnInit: .distance = 4; // Update handler (use `date +%s` for this) - /* // Current UPDATE value: Qui Jun 7 08:10:55 -03 2018 if ($UPDATE < 1528369855) { $UPDATE=1528369855; @@ -23,9 +22,49 @@ OnInit: debugmes "Warning."; debugmes "Warning: This introduces a server update:"; debugmes ""; - debugmes "* Please create the imported guild"; + debugmes "* Automatic variable setup"; debugmes ""; + $HASAN_GP=25; + $MANA_BINT=30; + $MANA_BLVL=40; + $MANA_JLVL=20; + $VAULT_01738039=25; + $TULIM_MAYOR$="Saulc GM"; + $TULIM_TAX=100; + $TULIM_EXPORT=5000; + $TULIM_REPUTATION=50; + $HALIN_MAYOR$="Saulc GM"; + $HALIN_TAX=100; + $HALIN_EXPORT=2000; + $HALIN_REPUTATION=50; + $HURNS_MAYOR$="Saulc GM"; + $HURNS_TAX=100; + $HURNS_EXPORT=3000; + $HURNS_REPUTATION=50; + $LOF_MAYOR$="Jesus Saves"; + $LOF_TAX=100; + $LOF_EXPORT=4000; + $LOF_REPUTATION=50; + $NIVAL_MAYOR$="Jesus Saves"; + $NIVAL_TAX=100; + $NIVAL_EXPORT=3000; + $NIVAL_REPUTATION=50; + $FROSTIA_MAYOR$="Jesus Saves"; + $FROSTIA_TAX=100; + $FROSTIA_EXPORT=3000; + $FROSTIA_REPUTATION=50; + $BCONFN_SPAWN = 70; + $BCONFD_SPAWN = 100; + $BCONFN_MOBHP = 100; + $BCONFD_MOBHP = 90; + $BCONFB_EXPR = 100; + $BCONFN_EXPR = 5; + $BCONFD_EXPR = 0; + $BCONFB_DROP = 100; + $BCONFN_DROP = 7; + $BCONFD_DROP = 0; } + /* // Current UPDATE value: Dom Jun 17 21:32:45 -03 2018 if ($UPDATE < 1529281965) { $UPDATE=1529281965; @@ -491,6 +530,16 @@ OnInit: DelItemFromEveryPlayer(SilverEasteregg); query_sql("UPDATE `quest` SET `count1` = '2' WHERE `quest`.`quest_id`="+General_Narrator+" AND `count1` = '3'"); query_sql("UPDATE `quest` SET `count2` = '0' WHERE `quest`.`quest_id`="+General_Narrator+" AND `count1` = '2'"); + $BCONFN_SPAWN = 70; + $BCONFD_SPAWN = 100; + $BCONFN_MOBHP = 95; + $BCONFD_MOBHP = 85; + $BCONFB_EXPR = 100; + $BCONFN_EXPR = 5; + $BCONFD_EXPR = 0; + $BCONFB_DROP = 100; + $BCONFN_DROP = 7; + $BCONFD_DROP = 0; debugmes ""; debugmes "* Bull Helmet Fix"; debugmes "* Remove Silver Easter Eggs"; -- cgit v1.2.3-60-g2f50