Jump to content
  • 0

Auto Change Baby Job Following Class


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

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

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  157
  • Reputation:   18
  • Joined:  08/18/15
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

 

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

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

appearence change haziel

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

thanks its working boss

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

Glad you made it.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

Glad you made it.

how to add bonus boss?

example bonus aspd 30%

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

thanks

Edited by PapaZola
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

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
Link to comment
Share on other sites

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.

×
×
  • Create New...