Please show screenshots of the skills as well.
When you take screenshots, use Alt+PrintScreen rather than just PrintScreen. This will capture just the window in focus, and leave the background out, which makes the image easier to read without having to click on it or open in another window.
Did you use alt+printscreen and then change the canvas size to give it a big, white background? That's no better than capturing the entire screen. I still have to open the image to view it in a readable size.
You have two skills - one that works, and one that doesn't. Please show the screenshot for the other skill as well.
Your damage formula (and this is why I asked for the screenshot to be taken a specific way - I now have to open that in a new window to read it and work in two windows to make this reply) says a.level + a.mat - b.def + 10
a is the enemy. Enemies don't have levels, so this is going to be 0. Unless you have a plugin for enemy levels, which you should probably tell us. a.mat is 30, so this skill will give 40 dmg at most. Who is the target and what is their mdf?
If you use Alt+PrintScreen, you will not have to crop the image. My GIMP will default a "new image" size to whatever is in the clipboard, then you just have to paste. I also tested Edit > Paste As > New Image and it also sized correctly.
Ah, I think that may be why it's returning 0. There is no level property for enemies, so the damage formula will result in an error. And there is a failsafe that returns 0 when an error is encountered. I'm guessing that your other skill that works does not use a.level in the damage formula. If that's correct, you just need to rework your formula to use valid properties.
a.level will only work for skills used by your actors.
Just have 2 ice skills - one for enemies, that doesn't use level, and one for actors, that does.
The formula can be whatever you want it to be, as long as it's valid. I assume you only change it because you want it to behave a certain way.
Just report your first post and let the mods know your issue is solved, and they'll close the thread for you 🙂