Is there a script out there that anyone knows of that will prevent the enemy doing NULL damage when his attack isn't high enough? I would prefer an enemy do at least 1 damage if he hits but his atk is too low to effect the player.
A bonus to it would be a script that allowed a percentage of null damage hits to be 1 damage hits, this way you can get both.
No Null Damage
● ARCHIVED · READ-ONLY
-
-
I've moved this thread to RGSS3 Script Requests (Scripts is for complete scripts, not requests). Please be sure to post your threads in the correct forum next time. Thank you.
-
Uhm, the basic attack skill formula is a.atk * 4 - b.def * 2 in the database. What if you just make it like this: a.atk * 4 - b.def * 2 +1 ?
-
that won't work, if the def is high enough then the +1 won't change the result.Uhm, the basic attack skill formula is a.atk * 4 - b.def * 2 in the database. What if you just make it like this: a.atk * 4 - b.def * 2 +1 ?
it has to be soomething similiar to
[a.atk * 4 - b.def * 2, 1].max
(no guarantee, haven't tested for syntax errors) -
What do you mean by NULL damage?
If my atk is 20 and the target's def is 40, and your formula was simply a.atk - b.def, then the damage should be zero, not NULL. -
NULL is the word for zero in several languagesWhat do you mean by NULL damage?
then the damage should be zero, not NULL. -
You might find this thread useful.
http://forums.rpgmakerweb.com/index.php?/topic/953-set-minimum-damage-to-1/ -
Thank you all, it seems like those 2 suggestions will work. Thread can be closed.
(Thanks for moving, Shaz!) :D -
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.