From bf4b0a281207e46a9b21a9c9f779aeafaa739b62 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 26 Oct 2014 02:06:46 +0100 Subject: Replaced 'set' with direct assignment where applicable (common folder) Signed-off-by: Haru --- npc/merchants/socket_enchant2.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/merchants/socket_enchant2.txt') diff --git a/npc/merchants/socket_enchant2.txt b/npc/merchants/socket_enchant2.txt index dbdcfe379..08fe62ed9 100644 --- a/npc/merchants/socket_enchant2.txt +++ b/npc/merchants/socket_enchant2.txt @@ -277,7 +277,7 @@ mes "Shall we start now?"; mes "Pray to your gods for good luck."; next; - set .@a, rand(1,100); + .@a = rand(1,100); if ((.@a > 4) && (.@a < 95)) { specialeffect EF_LORD; @@ -417,7 +417,7 @@ function script Func_Socket2 { mes "Alright then, let the work begin!"; mes "You'd better pray for a successful result."; next; - set .@a, rand(1,100); + .@a = rand(1,100); if ((.@a > getarg(2)) && (.@a < getarg(3))) { specialeffect EF_LORD; -- cgit v1.2.3-70-g09d2