From e9d2315e89adb7610a67d610bb99fd78fd403c37 Mon Sep 17 00:00:00 2001 From: euphyy Date: Fri, 28 Dec 2012 08:38:28 +0000 Subject: * Added a small portion of official Malangdo Episode scripts. * Updated quest_db with translated Malangdo entries. * Fixed strmobinfo() to output empty strings for 'name' instead of zeros (partly follow-up r17055). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17056 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/custom/stylist.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'npc/custom/stylist.txt') diff --git a/npc/custom/stylist.txt b/npc/custom/stylist.txt index fa552ce6d..77bbf7bdb 100644 --- a/npc/custom/stylist.txt +++ b/npc/custom/stylist.txt @@ -17,7 +17,8 @@ prontera,170,180,1 script Stylist#custom_stylist 122,{ setarray .@Styles[1],getbattleflag("max_cloth_color"),getbattleflag("max_hair_style"),getbattleflag("max_hair_color"); setarray .@Look[1],7,1,6; set .@s, select(" ~ Cloth color: ~ Hairstyle: ~ Hair color"); - set .@Revert, getlook(.@Look[.@s]); set .@Style,1; + set .@Revert, getlook(.@Look[.@s]); + set .@Style,1; while(1) { setlook .@Look[.@s], .@Style; message strcharinfo(0),"This is style #"+.@Style+"."; @@ -29,6 +30,7 @@ prontera,170,180,1 script Stylist#custom_stylist 122,{ input .@Style,0,.@Styles[.@s]; if (!.@Style) set .@Style, rand(1,.@Styles[.@s]); break; - case 4: set .@Style, .@Revert; setlook .@Look[.@s], .@Revert; break; } - } end; + case 4: set .@Style, .@Revert; setlook .@Look[.@s], .@Revert; break; + } + } } -- cgit v1.2.3-60-g2f50