I need a damage formula which is far too long to fit in the damage formula box so I've been trying to concoct a custom damage snippet for the script editor. So far it's been a disaster. I need a formula which can check if either of these 2 if/else are true, and run either of them if only one is true or both if both are true.
if $game_player.region_id == 40; 4*a.level + a.mat*4 - b.mdf*1.5; else; 4*a.level + a.mat*3 - b.mdf*1.5; end
if b.state?(23); b.add_debuff(6, 3); end; 4*a.level + a.mat*3 - b.mdf*1.5
Can anyone help me out?
Thanks
if $game_player.region_id == 40; 4*a.level + a.mat*4 - b.mdf*1.5; else; 4*a.level + a.mat*3 - b.mdf*1.5; end
if b.state?(23); b.add_debuff(6, 3); end; 4*a.level + a.mat*3 - b.mdf*1.5
Can anyone help me out?
Thanks