diff options
author | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2013-02-25 03:04:33 +0000 |
---|---|---|
committer | Streusel <advance_me@hotmail.de> | 2013-02-25 21:22:29 -0800 |
commit | 06526e32ea7608dfc62ad5aeca91cf78ff3a446f (patch) | |
tree | 44b11e18fc4546563fea224004c2765148468688 /npc/merchants/socket_enchant.txt | |
parent | 5c667ccb1e95614177d5c849761040be09abc746 (diff) | |
download | hercules-06526e32ea7608dfc62ad5aeca91cf78ff3a446f.tar.gz hercules-06526e32ea7608dfc62ad5aeca91cf78ff3a446f.tar.bz2 hercules-06526e32ea7608dfc62ad5aeca91cf78ff3a446f.tar.xz hercules-06526e32ea7608dfc62ad5aeca91cf78ff3a446f.zip |
* Part one of fixing bugreport:6527. This does not yet change functionality.
-- Added 'disable_items' to all applicable scripts.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17160 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/socket_enchant.txt')
-rw-r--r-- | npc/merchants/socket_enchant.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/merchants/socket_enchant.txt b/npc/merchants/socket_enchant.txt index 4e0b7985d..7ace07bee 100644 --- a/npc/merchants/socket_enchant.txt +++ b/npc/merchants/socket_enchant.txt @@ -3,7 +3,9 @@ //===== By: ================================================== //= rAthena Dev Team //===== Current Version: ===================================== -//= 2.0 +//= 2.0a +//===== Compatible With: ===================================== +//= Hercules Git //===== Description: ========================================= //= [Aegis Conversion] //= Adds slots to selected weapons and armor. @@ -25,6 +27,7 @@ //= 1.9 Moved Episode 12 items to separate NPC. //= Some cleanup & optimization. [Gepard] //= 2.0 Duplicates now spawn from floating NPCs. [L0ne_W0lf] +//= 2.0a Added 'disable_items' command. [Euphy] //============================================================ - script Seiyablem#dummy::SocketEnchant -1,{ @@ -245,6 +248,7 @@ function script Func_Socket { + disable_items; mes "[Seiyablem]"; mes "You want to add a Slot to a " + getitemname(getarg(0)) + "?"; mes "Alright, please bring me ^FF0000" + getarg(6) + " " + getitemname(getarg(5)) + (getarg(6) > 1 && getarg(5) != 999 ? "s":"") + "^000000, " + (getarg(7,0) != 0 && getarg(8,0) != 0 ? ("^FF0000" + getarg(8,0) + " " + getitemname(getarg(7,0)) + (getarg(8,0) > 1 && getarg(7,0) != 999 ? "s":"") + "^000000 ") : "") + "and my ^FF0000" + (getarg(4) >= 1000 ? (getarg(4)/1000 + ",000") : getarg(4)) + ",000 zeny^000000 service fee."; |