Ninjamon Posted April 1, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.02 Content Count: 295 Reputation: 2 Joined: 03/06/12 Last Seen: November 4, 2014 Share Posted April 1, 2013 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? Quote Link to comment Share on other sites More sharing options...
Ninjamon Posted April 1, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.02 Content Count: 295 Reputation: 2 Joined: 03/06/12 Last Seen: November 4, 2014 Author Share Posted April 1, 2013 up Quote Link to comment Share on other sites More sharing options...
Emistry Posted April 1, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: Saturday at 07:13 PM Share Posted April 1, 2013 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; } },{},{} Quote Link to comment Share on other sites More sharing options...
Playtester Posted April 2, 2013 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 899 Reputation: 248 Joined: 01/30/13 Last Seen: 18 hours ago Share Posted April 2, 2013 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). Quote Link to comment Share on other sites More sharing options...
Question
Ninjamon
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.