Jump to content
  • 0

Thana Mod


Ninjamon

Question


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   2
  • Joined:  03/06/12
  • Last Seen:  

Is there a possible to make the thanatos card effect which is to deal more damage according to the def of the target make it only 5% chance when hit?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   2
  • Joined:  03/06/12
  • Last Seen:  

up

Link to comment
Share on other sites


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


4399,Thanatos_Card,Memory of Thanatos Card,6,20,,10,,,,,,,,2,,,,,{ if( rand(100) < 5 ){ bonus bDefRatioAtkRace,RC_Boss; bonus bDefRatioAtkRace,RC_NonBoss; bonus bSPDrainValue,-1; bonus bDef,-30; bonus bFlee,-30; } },{},{}

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  822
  • Reputation:   237
  • Joined:  01/30/13
  • Last Seen:  

I don't think the script above would work. The if check only goes through when the equipment is re-checked.

 

The correct way to solve it would be to use "autobonus".

 

Like for Violet Fear:

autobonus "{ bonus bIgnoreDefRace,RC_NonBoss; }",50,5000;

 

So basically I'd do:

4399,Thanatos_Card,Memory of Thanatos Card,6,20,,10,,,,,,,,2,,,,,{ autobonus "{ bonus bDefRatioAtkRace,RC_Boss; bonus bDefRatioAtkRace,RC_NonBoss; }",50,5000; bonus bSPDrainValue,-1; bonus bDef,-30; bonus bFlee,-30; },{},{}
In this case you need to set a chance (50) and a duration (5000). I think chance is 50 = 5% and duration is in milliseconds (5000 = 5 seconds).
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...