summaryrefslogtreecommitdiff
path: root/npc/merchants/socket_enchant.txt
diff options
context:
space:
mode:
authorsamuray22 <samuray22@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-27 12:41:13 +0000
committersamuray22 <samuray22@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-27 12:41:13 +0000
commit00864187e9c93ce0059ad9f3fa67bfae7184dc25 (patch)
tree4e641740cf802f06d23a7d6591b611f7e522fa66 /npc/merchants/socket_enchant.txt
parent6b97414d3f91999512537eb3878057f381005e58 (diff)
downloadhercules-00864187e9c93ce0059ad9f3fa67bfae7184dc25.tar.gz
hercules-00864187e9c93ce0059ad9f3fa67bfae7184dc25.tar.bz2
hercules-00864187e9c93ce0059ad9f3fa67bfae7184dc25.tar.xz
hercules-00864187e9c93ce0059ad9f3fa67bfae7184dc25.zip
* Continues replacing of specialeffect/2 numerics with constants.
* Corrected an If to continue the President's Quest. (bugreport:2276) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13241 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/socket_enchant.txt')
-rw-r--r--npc/merchants/socket_enchant.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/npc/merchants/socket_enchant.txt b/npc/merchants/socket_enchant.txt
index 63f67a920..ca5cf1242 100644
--- a/npc/merchants/socket_enchant.txt
+++ b/npc/merchants/socket_enchant.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= eAthena dev team
//===== Current Version: =====================================
-//= 1.5
+//= 1.6
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -21,6 +21,7 @@
//= 1.3 Fixed a wrong item ID with Sphinx Hat. [SinSloth]
//= 1.4 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
//= 1.5 Removed Ontouch trigger area from NPCs. [L0ne_W0lf]
+//= 1.6 Replaced effect numerics with constants. [Samuray22]
//============================================================
payon,140,151,5 script Seiyablem 84,{
@@ -368,8 +369,8 @@ function script Func_Socket {
set .@socketrand,rand(1,100);
if((.@socketrand > getarg(3)) && (.@socketrand < getarg(4)))
{
- if(getarg(4) == 51) specialeffect 90;
- else specialeffect 83;
+ if(getarg(4) == 51) specialeffect EF_LORD;
+ else specialeffect EF_SANCTUARY;
mes "[Seiyablem]";
mes "Great, it seems to be successful.";
mes "It looks pretty well done. Congratulations!";
@@ -385,7 +386,7 @@ function script Func_Socket {
}
else
{
- specialeffect 108;
+ specialeffect EF_FREEZING;
mes "[Seiyablem]";
mes "Wah! ...I am so sorry, it failed.";
mes "However, I am completely innocent.";