I've looked over and attempted to use http://forums.rpgmakerweb.com/index.php?/topic/18097-making-a-skill-with-random-effects/ as a guide to very little effect.
To fully grasp what I'm attempting I'm using Galv's Magic Shards script http://galvs-scripts.com/2013/03/24/magic-shards/ to make a shard combo skill when the elements of Metal and Arcane are side by side to make an attack called 'Paradox'.
The skill deals random damage in a formula of c=1+rand(6);d=1+rand(6);if c==1 and d==1;10000;elsif c==d;c*400;else;(c+d)*100;end; by Formar0153 http://cobbtocs.co.uk/wp/?p=271
Though to a minuted effect of a 10th the damage and double 1s is a death to the user instead. Anyway the skill's other effect is that it's supposed to place a random status effect on the target (1 random enemy) problem I'm encountering is in the Conditional Branch, it has 'else' on it and ether the condition doesn't work or it applies multiples. I'm not asking to have something made for me or a script for this, I'm just simply asking who to better utilize the conditional branch to get the result I'm looking for.
Edit: Okay I figured out how to remove the 'Else' but I'm still stuck on making it target a random enemy unit with a random state instead of it looking for a specific unit.
To fully grasp what I'm attempting I'm using Galv's Magic Shards script http://galvs-scripts.com/2013/03/24/magic-shards/ to make a shard combo skill when the elements of Metal and Arcane are side by side to make an attack called 'Paradox'.
The skill deals random damage in a formula of c=1+rand(6);d=1+rand(6);if c==1 and d==1;10000;elsif c==d;c*400;else;(c+d)*100;end; by Formar0153 http://cobbtocs.co.uk/wp/?p=271
Though to a minuted effect of a 10th the damage and double 1s is a death to the user instead. Anyway the skill's other effect is that it's supposed to place a random status effect on the target (1 random enemy) problem I'm encountering is in the Conditional Branch, it has 'else' on it and ether the condition doesn't work or it applies multiples. I'm not asking to have something made for me or a script for this, I'm just simply asking who to better utilize the conditional branch to get the result I'm looking for.
Edit: Okay I figured out how to remove the 'Else' but I'm still stuck on making it target a random enemy unit with a random state instead of it looking for a specific unit.