Jump to content
  • 0

Custom Card Effect.


GM Homies

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  03/02/12
  • Last Seen:  

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

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  03/02/12
  • Last Seen:  

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"; },{}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

you should change the Thief into Assassin because the Rouge Class will inherit the cards's condition effect

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  09/27/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  03/02/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  09/27/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  03/02/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  


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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  03/02/12
  • Last Seen:  

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. 

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