zhaosin Posted December 7, 2012 Posted December 7, 2012 Script can change sex for custom item but don't support for bard/dancer Quote
Ryokem Posted December 7, 2012 Posted December 7, 2012 use atcommand "@changesex" after checking the class not to be Bard or Dancer. 1 Quote
JoWei Posted December 7, 2012 Posted December 7, 2012 (edited) Misread at first, I don't even think the conditions are neccessary due to the fact that rAthena doesn't seem to crash when changing sex on bard or dancer but anyhow here's the script: if(baseJob==Job_Dancer || baseJob==Job_Bard){}else{ atcommand "@changesex"; } Edit: added requested script Edited December 7, 2012 by JoWei 1 Quote
zhaosin Posted December 7, 2012 Author Posted December 7, 2012 script for custom item please {...} {} {} ( ... is code or script... ) Quote
JoWei Posted December 7, 2012 Posted December 7, 2012 I'll use red potion as an example, insert that script into your custom item at <Custom item ID>,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ if(baseJob==Job_Dancer || baseJob==Job_Bard){}else{ atcommand "@changesex"; } },{},{} 1 Quote
Ryokem Posted December 7, 2012 Posted December 7, 2012 I need script not command use atcommand "@changesex" after checking the class not to be Bard or Dancer. It is the script! As you can see... I'll use red potion as an example, insert that script into your custom item at <Custom item ID>,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ if(baseJob==Job_Dancer || baseJob==Job_Bard){}else{ atcommand "@changesex"; } },{},{} 1 Quote
Emistry Posted December 7, 2012 Posted December 7, 2012 <Custom item ID>,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ if( BaseJob !=Job_Dancer && BaseJob !=Job_Bard){ changesex; } },{},{} refer changesex 1 Quote
Ryokem Posted December 8, 2012 Posted December 8, 2012 <Custom item ID>,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ if( BaseJob !=Job_Dancer && BaseJob !=Job_Bard){ changesex; } },{},{} refer changesex Haha I missed that command. As there is changesex command, of course it's much better than use atcommand. Quote
Question
zhaosin
Script can change sex for custom item but don't support for bard/dancer
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.