diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-28 21:15:23 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-28 21:15:23 -0300 |
commit | 0a1da134b49b32801bcdd0dfb82edf695e7d3823 (patch) | |
tree | d1a264a7705d36654e0d495f2c36dbd32a05f522 /npc | |
parent | e6b64e6b77f437cb58e0b5fe9def6313d38ab7e0 (diff) | |
download | serverdata-0a1da134b49b32801bcdd0dfb82edf695e7d3823.tar.gz serverdata-0a1da134b49b32801bcdd0dfb82edf695e7d3823.tar.bz2 serverdata-0a1da134b49b32801bcdd0dfb82edf695e7d3823.tar.xz serverdata-0a1da134b49b32801bcdd0dfb82edf695e7d3823.zip |
Be more solid
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-3/malindou.txt | 5 | ||||
-rw-r--r-- | npc/042-3/jail.txt | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 0acbfc18a..df0279419 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -557,6 +557,11 @@ OnInit: query_sql("UPDATE `guild_storage` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx0`='189' OR `opt_idx0`='200') AND (`opt_idx1`='189' OR `opt_idx1`='200') AND (`opt_val0` > '15' AND `opt_val1` > '15')"); query_sql("UPDATE `rodex_items` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx0`='189' OR `opt_idx0`='200') AND (`opt_idx1`='189' OR `opt_idx1`='200') AND (`opt_val0` > '15' AND `opt_val1` > '15')"); query_sql("UPDATE `auction` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx0`='189' OR `opt_idx0`='200') AND (`opt_idx1`='189' OR `opt_idx1`='200') AND (`opt_val0` > '15' AND `opt_val1` > '15')"); + + query_sql("UPDATE `inventory` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx1`=`opt_idx2`) AND (`opt_val0` > '15' AND `opt_val1` > '15')"); + query_sql("UPDATE `storage` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx1`=`opt_idx2`) AND (`opt_val0` > '15' AND `opt_val1` > '15')"); + query_sql("UPDATE `guild_storage` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx1`=`opt_idx2`) AND (`opt_val0` > '15' AND `opt_val1` > '15')"); + query_sql("UPDATE `rodex_items` SET `opt_val0` = '15', `opt_val1` = '10' WHERE (`opt_idx1`=`opt_idx2`) AND (`opt_val0` > '15' AND `opt_val1` > '15')"); debugmes ""; debugmes "* Tolchi mess cleanup"; debugmes ""; diff --git a/npc/042-3/jail.txt b/npc/042-3/jail.txt index 1c00d66c6..7e3a1f5b9 100644 --- a/npc/042-3/jail.txt +++ b/npc/042-3/jail.txt @@ -17,6 +17,7 @@ OnKillSlime: end; if (rand2(10000) > 1000) { getmapxy(.@m$, .@x, .@y, 0); + sleep2(1800); .@mob=monster(.@m$, .@x, .@y, strmobinfo(1, CopperSlime), CopperSlime, 1, .@label$); // This should wipe the monster experience value setunitdata(.@mob, UDT_LEVEL, 1); @@ -69,7 +70,7 @@ function script KamelotLockpick { close; OnInit: OnInstanceInit: - .distance=1; + .distance=2; end; } |