Browse Source

Added official effects to the Socket Enchant NPC

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8492 54d463be-8e91-2dee-dedb-b68131a5f0ec
Playtester 19 years ago
parent
commit
0c76ad9052
2 changed files with 6 additions and 0 deletions
  1. 2 0
      npc/Changelog.txt
  2. 4 0
      npc/merchants/socket_enchant.txt

+ 2 - 0
npc/Changelog.txt

@@ -32,6 +32,8 @@ Playtester
 
 Date		Added
 ======
+08/26
+	* Added official effects to the Socket Enchant NPC [Playtester]
 08/25
 	* Reverted the mapflag changes to Lighthalzen. [MasterOfMuppets]
 	* Little correction on Assassin Job Quest [Toms]

+ 4 - 0
npc/merchants/socket_enchant.txt

@@ -547,6 +547,7 @@ function	script	addslot	{
            set Zeny,Zeny-@addprice;
            delitem @olditem,1;
            if(@rateit<rand(1,100))goto L_Fail;
+           misceffect 83;
            getitem @newitem,1;
 
       mes "[Socket Enchant]";
@@ -571,6 +572,7 @@ function	script	addslot	{
       close;
 
   L_Fail:
+      misceffect 183;
       mes "[Socket Enchant]";
       mes "Sorry, but i could't upgrade it.";
       close;
@@ -605,6 +607,7 @@ function	script	addslot2	{
            set Zeny,Zeny-@addprice;
            delitem @olditem,1;
            if(@rateit<rand(1,100))goto L_Fail;
+           misceffect 83;
            getitem @newitem,1;
 
       mes "[Socket Enchant]";
@@ -629,6 +632,7 @@ function	script	addslot2	{
       close;
 
   L_Fail:
+      misceffect 183;
       mes "[Socket Enchant]";
       mes "Sorry, but i could't upgrade it.";
       close;