Well, yes, because it'sb.actorId()
hmm, ok thanks, i tried this before but i got a error saying it's not a function(that is why i took off the ()), but this time it worked. Seens my game is a little bugged and i got myself confused because of that, sorry. Sometimes i'm getting the error saying the value is null because for some reason the custom execution command is executed when it isn't suposed to. Will need to check my plugins and I'll try to do some conditionals to fix that.
as for the damage, yanfly damage control helped me with that, i used value = v; in the global dmg calculation. I just need to see how i'll set it to 0 when it's a miss
also, i saw that in another place (and in one of this topic posts), but you can use math. functions in the DMG formula. Could be a nice thing to add to your post (like using it to generate a random number and using "if" later to determine the DMG of the skill)
EDIT: Helck FTW o/
EDIT 2: seens that the <Custon Execution> was used before the damage calculation, that is why i was getting the error, but now i managed to do it using a common event. Thanks again.
EDIT 3: seens that it is causing the actors to do 0 DMG for some reason, only monsters are doing DMG like the formula (even without plugins)
v = b.actorId(); a.atk;
EDIT 4: i solved it using yanfly DMG core, now i can store the last attacked actor ID and DMG dealt.
Edited by manoma, 10 January 2016 - 01:56 AM.