diff options
author | Michieru <michieru@0-mail.com> | 2013-10-24 12:10:43 +0200 |
---|---|---|
committer | Michieru <michieru@0-mail.com> | 2013-10-24 12:10:43 +0200 |
commit | e3afdc2af4c5e50c79237ee092e25f39b7428e47 (patch) | |
tree | 20cfd05dd6fc2e3e53173ef059f045cee1526d58 /npc/other/mercenary_rent.txt | |
parent | 491892212d338903179909b89a5bfc2385e52261 (diff) | |
download | hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.gz hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.bz2 hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.xz hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.zip |
Update to last rAthena npc.
Fix some typos
change sc_bleeding to -> sc_blooding
Updated RE EXP for quests_brasilis.txt
Diffstat (limited to 'npc/other/mercenary_rent.txt')
-rw-r--r-- | npc/other/mercenary_rent.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/other/mercenary_rent.txt b/npc/other/mercenary_rent.txt index 28221ad34..418e7e8b0 100644 --- a/npc/other/mercenary_rent.txt +++ b/npc/other/mercenary_rent.txt @@ -1,29 +1,29 @@ //===== Hercules Script ====================================== //= Mercenary related NPCs -//===== By: ================================================== +//===== By: ================================================== //= L0ne_W0lf -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.4 -//===== Description: ========================================= +//===== Description: ========================================= //= [Official Conversion] //= Sells Lancer, Sword, and Archer mercenaries, //= along with related mercenary items. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 First version. [L0ne_W0lf] //= 1.1 Optimization. [Zephyrus] //= 1.2 Removed redundent input. [L0ne_W0lf] //= 1.3 Duplicates now spawned from floating NPCs. [L0ne_W0lf] //= 1.4 Optimized and fixed wrong item id. [Joseph] -//============================================================ +//============================================================ - script Mercenary Manager#main -1,{ setarray .@name$, "Spear", "Sword", "Bow"; setarray .@faith$, "SPEAR_MERC_GUILD", "SWORD_MERC_GUILD", "ARCH_MERC_GUILD"; setarray .@item, 12182, 12172, 12162; - set .@faith_lancer, mercenary_get_faith(getd(.@faith$[.@type])); set .@npc$, strnpcinfo(2); for (set .@size, getarraysize(.@name$); .@i < .@size; set .@i, .@i + 1) if (.@npc$ == .@name$[.@i]) set .@type, .@i; + set .@faith_merc, mercenary_get_faith(getd(.@faith$[.@type])); mes "[Mercenary Manager]"; mes "Welcome to the"; mes .@npc$ + " Mercenary Guild."; @@ -62,7 +62,7 @@ mes "free to come back if your"; mes "needs change. Thank you~"; } - else if(.@FaithCost && .@faith_lancer < .@FaithCost) { + else if(.@FaithCost && .@faith_merc < .@FaithCost) { mes "[Mercenary Manager]"; mes "Oh... Your Loyalty rating"; mes "with the " + .@npc$ + " Mercenary"; @@ -176,7 +176,7 @@ mes "Mercenary. Have you considered"; mes "hiring a lower grade Mercenary?"; } - else if (.@faith_lancer < 500) { + else if (.@faith_merc < 500) { mes "[Mercenary Manager]"; mes "I'm sorry, but your"; mes "Loyalty rating is too"; |