Jump to content
  • 0

Question

Posted (edited)

For Example I want Whitesmith Card to be this effect:

 

Mammonite Level 10 + Maximum over thrust Level 3 If Job is Assassin

Level 10 mammonite Only.

 

What happen is if I set "if(baseclass = thief) " something it also reads the level 10 MOT script.

 

 

for instance

 

{ bonus bBreakWeaponRate,1000; bonus bUnbreakableWeapon,0; bonus3 bAutoSpell,"MC_MAMMONITE",10,100; if(BaseClass==Job_Thief ) bonus3 bAutoSpell,"MC_MAMMONITE",10,100; } },{ callfunc "Restrict"; },{}

 

What happen is. even tho its working. the sinx still reads the maximum over thrust skill

Edited by robiekyut03

8 answers to this question

Recommended Posts

Posted

Fixed it myself. Here's the code. used some logic. thanks to all that used the time and effort

 

4361,B_Harword_Card,MasterSmith Card,6,20,,10,,,,,,,,2,,,,,{ if(BaseClass==Job_Swordsman||BaseClass==Job_Merchant||BaseClass==Job_Mage||BaseClass==Job_Archer||Baseclass==Job_Acolyte||BaseClass==Job_Gunslinger||BaseClass==Job_Ninja) { bonus bBreakWeaponRate,1000; bonus bUnbreakableWeapon,0; bonus3 bAutoSpell,"WS_OVERTHRUSTMAX",3,100; bonus3 bAutoSpell,"MC_MAMMONITE",10,100; } if(BaseJob == Job_Assassin) { bonus bBreakWeaponRate,1000; bonus bUnbreakableWeapon,0; bonus3 bAutoSpell,"MC_MAMMONITE",5,100; } },{ callfunc "Restrict"; },{}
Posted

make it 

 

 bonus bBreakWeaponRate,1000; bonus bUnbreakableWeapon,0; bonus3 bAutoSpell,"MC_MAMMONITE",10,100; if(BaseClass==Job_Thief ) bonus3 bAutoSpell,"MC_MAMMONITE",10,100; } },{ callfunc "Restrict"; },{}

 

to

 

 bonus bBreakWeaponRate,1000; bonus bUnbreakableWeapon,0; bonus3 bAutoSpell,"MC_MAMMONITE",10,100; if(Class=="CLASS ID OF ASSASSIN CROSS") {bonus3 bAutoSpell,"MC_MAMMONITE",10,100; } },{ callfunc "Restrict"; },{}

 

you can check the class id on @job then find the sinx.

Posted

make it 

 

 bonus bBreakWeaponRate,1000; bonus bUnbreakableWeapon,0; bonus3 bAutoSpell,"MC_MAMMONITE",10,100; if(BaseClass==Job_Thief ) bonus3 bAutoSpell,"MC_MAMMONITE",10,100; } },{ callfunc "Restrict"; },{}

 

to

 

 bonus bBreakWeaponRate,1000; bonus bUnbreakableWeapon,0; bonus3 bAutoSpell,"MC_MAMMONITE",10,100; if(Class=="CLASS ID OF ASSASSIN CROSS") {bonus3 bAutoSpell,"MC_MAMMONITE",10,100; } },{ callfunc "Restrict"; },{}

 

you can check the class id on @job then find the sinx.

But the assassin still inherit the Maximum over thrust.

Posted

Because it is on the main script. 

 

Do you want the card effect is 

 

If the assassin use the whitesmith card, Level 10 mammonite Only

but not the Level 10 + Maximum over thrust Level

Posted

Because it is on the main script. 

 

Do you want the card effect is 

 

If the assassin use the whitesmith card, Level 10 mammonite Only

but not the Level 10 + Maximum over thrust Level

Yes. I hope that the sinx wont read the main script MOT. I wish that Level 10 Mammo only How can I do that?

Posted
if( BaseJob != Job_Assassin ) { // maximum over thrust skill }

I didnt quite understand it sir emistry. can you make the full script?

if( BaseJob != Job_Assassin ) { // maximum over thrust skill }

The effect im trying to explain is.

Mastersmith Card:

Level 3 Maximum Over Thrust

Level 10 Mammonite

If Your Job is Assassin Cross.

Level 10 Mammonite only. NO MAXIMUM OVER THRUST.

The assassin reads the main script MOT. 

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