(This "bug" was found using a modification to the basic combat system, using Yanfly battle system ->
http://yanflychannel.wordpress.com/ )
I'm having some trouble with sklls in general, when used by enemies.
All skills I'm currently using are kinda like this:
"Wasp Eye Kick"
c = (1+rand(20)) + a.atk; if c> b.luk; c=(1+rand(1)+a.mat) else c=0; end; c
Where "atk" would be a "accuracy" stat and "luk" a "target number to be hit" (or Armor, for simplicity sake).
When a player character uses the skill, it works perfectly.
When a enemy tries using the same skill, they simply "miss" the attack.
I've tried checking and changing the stats of all the parties involved. I tried giving the playing characters low luk scores and even tried raising the atk stat of the enemies to really high numbers (My test was an 150 missing a 10 luk target).
What exactly is the problem? Does it has to do with Yanfly system and I'm out of luck? Is there something obvious over the regular, vanilla combat system that I didn't take in consideration?