I've been trying to find a solution for this for a while now, and finally decuded to just swallow my pride and ask. I'm wanting to make a barrier state that completley blocks damage but shatters when hit with a skill that would have done damage. Is there a script/scriptlet out there that can do this? Thank you in advance
Breaking a 0%mdr/pdr rate barrier with damaging attacks
RGSS3 Script RequestsThis script of mine can probably be modified to do what you ask. It's really late so I'd not be able to directly do it tonight though, but if someone wants to try it, go ahead: https://forums.rpgmakerweb.com/inde...-script-version-1-1-updated-10-23-2014.32536/
In it I have code that removes a barrier I set up if you hit it with any attack of a designated element. I call it the shatter element. It would have to be modified too so that it does exactly 0 damage as I had it require 1, but it would make a starting point.
Maybe I can look into this more when its not late in my time zone though.
In it I have code that removes a barrier I set up if you hit it with any attack of a designated element. I call it the shatter element. It would have to be modified too so that it does exactly 0 damage as I had it require 1, but it would make a starting point.
Maybe I can look into this more when its not late in my time zone though.
@bgillisp I don't know much about scripting, but i think i know enough to modify it. At least i'll try. Thank you
Edit: nevermind. I saw "damage pop up" in the script and am already using a damage popup script. I don't want the scripts arguing, and i don't want to ask you to do an overhaul of how your script works either. Thank you anyway for responding
Edit: nevermind. I saw "damage pop up" in the script and am already using a damage popup script. I don't want the scripts arguing, and i don't want to ask you to do an overhaul of how your script works either. Thank you anyway for responding
Yeah I added code so it works with Yanfly's damage pop-up, as it needed a patch for that. If you delete those lines it should work?
However....I had an idea that might be easier than a script. What happens if you just have every skill that does damage have remove state 999% for the state that gives PDR and MDR 0%? It should still kick in after the damage.
However....I had an idea that might be easier than a script. What happens if you just have every skill that does damage have remove state 999% for the state that gives PDR and MDR 0%? It should still kick in after the damage.
It works. thank you. guess i didn't need a script
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.
Original thread: https://forums.rpgmakerweb.com/threads/breaking-a-0-mdr-pdr-rate-barrier-with-damaging-attacks.124563/