diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-25 15:45:31 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-25 15:45:31 +0000 |
commit | 9fee4761bb79fe4d5665ed93e790cb430c0822b0 (patch) | |
tree | e58ecaae1a49202135e5e427bf2a207c9be89318 /npc/jobs | |
parent | bea7c251d6e7b348e08fd0f4a10bd16d3423639f (diff) | |
download | hercules-9fee4761bb79fe4d5665ed93e790cb430c0822b0.tar.gz hercules-9fee4761bb79fe4d5665ed93e790cb430c0822b0.tar.bz2 hercules-9fee4761bb79fe4d5665ed93e790cb430c0822b0.tar.xz hercules-9fee4761bb79fe4d5665ed93e790cb430c0822b0.zip |
- 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
Diffstat (limited to 'npc/jobs')
-rw-r--r-- | npc/jobs/3-1/rune_knight.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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("¼ì²éȫ¾ֱäÁ¿:ÐÄȫ¾ֱäÁ¿")) { |