diff options
author | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-28 08:38:28 +0000 |
---|---|---|
committer | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-28 08:38:28 +0000 |
commit | e9d2315e89adb7610a67d610bb99fd78fd403c37 (patch) | |
tree | 55b9666e1a9c5e8739b36f9cdd3ace5576298e0d /npc/custom/stylist.txt | |
parent | 382f0b77bf009b938e578286b1048ccf8038d443 (diff) | |
download | hercules-e9d2315e89adb7610a67d610bb99fd78fd403c37.tar.gz hercules-e9d2315e89adb7610a67d610bb99fd78fd403c37.tar.bz2 hercules-e9d2315e89adb7610a67d610bb99fd78fd403c37.tar.xz hercules-e9d2315e89adb7610a67d610bb99fd78fd403c37.zip |
* 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
Diffstat (limited to 'npc/custom/stylist.txt')
-rw-r--r-- | npc/custom/stylist.txt | 8 |
1 files changed, 5 insertions, 3 deletions
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; + } + } } |