Issue information

Issue ID
#6993
Status
Fixed
Severity
Fair
Started
Hercules Elf Bot
Dec 9, 2012 19:32
Last Post
Hercules Elf Bot
Dec 11, 2012 18:39
Confirmation
N/A

Hercules Elf Bot - Dec 9, 2012 19:32

Originally posted by [b]Emistry[/b]
[svn=trunk/npc/other/mercenary_rent.txt]
[CODE]
case 12148: mes "Red Potion. Thank you, and"; break;
case 12149: mes "Blue Potion. Thank you, and"; break;
[/CODE]
[CODE]
case 12148: mes "" + .@input + " Mercenary Red Potions."; mes "Thank you, and please come"; break;
case 12149: mes "" + .@input + " Mercenary Blue Potions."; mes "Thank you, and please come"; break;
[/CODE]

the item ID shouldnt be [item='12148'] and [item='12149']
the correct item ID should be [item='12184'] and [item='12185']

[hr]

Anway...the mercenary script is way too long for "same" content of each npc...
perhap you can shorten it like this ?
[url="http://pastebin.com/raw.php?i=758yESLW"]http://pastebin.com/raw.php?i=758yESLW[/url]
or maybe better than this.....

Hercules Elf Bot - Dec 11, 2012 18:39

Originally posted by [b]Joseph[/b]
Fixed in [rev=17016].