RPG Maker Forums

Hi there,

I would like to create a state that checks for the type of elemental damage before damage is processed (in the Custom React Effect segment). Currently, I've been using:

Code:
this.isPhysical()
to determine whether a hit is Physical or not, not realizing that the "Physical" refers to Hit Type.

I'm actually after determining the element. I did find this little statement here, however this only takes into account the damage delivered by the skill once received, not the Element ID of the skill itself:

Code:
this.item().damage.ElementID
Can anyone help me find a substitute to "this.isPhysical" that actually works with Elements instead of Hit Type?

Thanks!

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,476
Members
137,824
Latest member
dobratemporal
Top