diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-02-26 10:44:59 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-02-26 10:44:59 -0300 |
commit | 0baaf2674734e59ddaf27c326a6bdf07d34896eb (patch) | |
tree | a60b89f2518dfd04e6d5f6df0e4b2786283c805c /npc/003-3 | |
parent | bcd58850a721a39dcf538aea2a14f009810c6cf9 (diff) | |
download | serverdata-0baaf2674734e59ddaf27c326a6bdf07d34896eb.tar.gz serverdata-0baaf2674734e59ddaf27c326a6bdf07d34896eb.tar.bz2 serverdata-0baaf2674734e59ddaf27c326a6bdf07d34896eb.tar.xz serverdata-0baaf2674734e59ddaf27c326a6bdf07d34896eb.zip |
De-hardcode the battle configuration flags (BCONF)
Reason: Automatize and protect the EXP Bonus on TMW2 Day Event.
Diffstat (limited to 'npc/003-3')
-rw-r--r-- | npc/003-3/malindou.txt | 53 |
1 files changed, 51 insertions, 2 deletions
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"; |