Jump to content
  • 0

Script can change sex for custom item?


Question

9 answers to this question

Recommended Posts

Posted (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 by JoWei
  • Upvote 1
Posted

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"; } },{},{}

  • Upvote 1
Posted

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"; } },{},{}

  • Upvote 1
Posted

<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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...