Ninjamon Posted April 1, 2013 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
Emistry Posted April 1, 2013 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
Playtester Posted April 2, 2013 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
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?
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.