Jump to content
  • 0

Auto Change Baby Job Following Class


Question

Posted

Hello guys

its posibble to make a script a make ur change to auto baby class when using some item

example

Angeling hat-If Assassin Cross used its auto change to baby assassin and if Lord knight used it auto change job to baby knight

urgent 

thanks for reply

13 answers to this question

Recommended Posts

  • 0
Posted (edited)

In theory this should be pretty simple. You'd simply use a command like atcommand "@job" to change your job on equip, and then the same thing to change your job when you unequip.

 

See if this works for you.

5132,Angeling_Hat,Angeling Hat,5,20,,700,,2,,0,0xFFFFFFFF,7,2,256,,0,0,204,{},{if(class !=12) atcommand "@job 4035"},{if(class !=4035) atcommand "@job 12"}
Edited by greenmagic469
  • 0
Posted

 

In theory this should be pretty simple. You'd simply use a command like atcommand "@job" to change your job on equip, and then the same thing to change your job when you unequip.

 

See if this works for you.

5132,Angeling_Hat,Angeling Hat,5,20,,700,,2,,0,0xFFFFFFFF,7,2,256,,0,0,204,{},{if(class !=12) atcommand "@job 4035"},{if(class !=4035) atcommand "@job 12"}

greenmagic its posibble to make to multi job?

example sinx to baby assassin LK to baby knight champion to baby monk

  • 0
Posted

First of all, It's supposed to be a permanent change or appearence change?
Yes, it's possible to make it to change accordingly to caster's job, but I need to know what you want to achieve.

  • 0
Posted (edited)

It's simple, it'll be easier if you make the item only equipabble by Transclasses, but:
Just put it on the OnEquip and OnUnequip of your Item.

{ if (Class > 4000 && Class < 4023) changebase Class + 22; },{ changebase Class; }
Edited by Haziel
  • 0
Posted (edited)

not working

im sinx now when wear it still sinx

5123,Ulle_Cap,Ulle's Cap,5,30000,,500,,3,,1,0xFFFFFFFE,7,2,256,,65,1,254,{ if (Class > 4000 && Class < 4023) changebase Class + 22; },{ changebase Class; }
5wxhmfx73v.png
Edited by PapaZola
  • 0
Posted

I said it's is supposed to be put on OnEquip and OnUnequip {}s.

5123,Ulle_Cap,Ulle's Cap,5,30000,,500,,3,,1,0xFFFFFFFE,7,2,256,,65,1,254,{},{ if (Class > 4000 && Class < 4023) changebase Class + 22; },{ changebase Class; }

This way.

  • 0
Posted

On the same item?

bonus bAspdRate,30;

Like:

5123,Ulle_Cap,Ulle's Cap,5,30000,,500,,3,,1,0xFFFFFFFE,7,2,256,,65,1,254,{ bonus bAspdRate,30; },{ if (Class > 4000 && Class < 4023) changebase Class + 22; },{ changebase Class; }

Take a look on doc/item_db.txt & doc/item_bonus.txt

  • 0
Posted (edited)

Easier way:

 

30000,Third_Job_Suit,Third Job Suit,4,1000,,300,0,3,0,0,0xFFFFFFFF,7,2,16384,0,0,1,0,{},{ changebase roclass(eaclass()|EAJL_THIRD); },{ changebase Class; }
30050,Baby_Job_Suit,Baby Suit,4,1000,,300,0,3,0,0,0xFFFFFFFF,7,2,16384,0,0,1,0,{},{ changebase roclass(eaclass()|EAJL_BABY); },{ changebase Class; }
30051,Trans_Job_Suit,Transcendent Suit,4,1000,,0,0,,0,0,0xFFFFFFFF,7,2,16384,0,0,1,0,{},{ changebase roclass(eaclass()|EAJL_UPPER); },{ changebase Class; }

Hope this helps.

Edited by PandaRapesHamster

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