From 9fee4761bb79fe4d5665ed93e790cb430c0822b0 Mon Sep 17 00:00:00 2001 From: brianluau Date: Fri, 25 May 2012 15:45:31 +0000 Subject: - Reduced 300+ copy-paste lines to 1 duplicated npc in eden_common.txt (suggestion bugreport:5795) - Replaced more unconverted 'inputstr' in several npc scripts, and changed to scope variables. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16149 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/jobs/3-1/rune_knight.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/jobs') diff --git a/npc/jobs/3-1/rune_knight.txt b/npc/jobs/3-1/rune_knight.txt index e4dab7e95..def9ecd64 100644 --- a/npc/jobs/3-1/rune_knight.txt +++ b/npc/jobs/3-1/rune_knight.txt @@ -3904,9 +3904,9 @@ job3_rune01,92,62,3 script Kafra Employee#rk 114,{ npc "sec_in02" "·ûÎÄÆïʿתְÈ볡¹ÜÀíԱ" 4_M_KNIGHT_SILVER 34 167 3 1 1 mes "ÇëÊäÈëÃÜÂ롣"; next; - set keyword,1854; + set .@keyword$, "1854"; input .@input$; - if (inputstr == keyword) { + if (.@input$ == .@keyword$) { mes "·ûÎÄÆïʿתְ¹ÜÀíģ¿鿪ʼ"; next; switch(select("¼ì²éȫ¾ֱäÁ¿:Ð޸Äȫ¾ֱäÁ¿")) { -- cgit v1.2.3-70-g09d2