Skill and Status Alignment

Dark Aurora

Villager
Member
Joined
Apr 16, 2016
Messages
5
Reaction score
0
First Language
Indonesia
Primarily Uses
Hello there.


I would like to know if it's possible to cancel a skill attack when enemy has a certain status alignment. For example, the Enemy has "Rage" status. When Player tried to attack the Enemy with "Fire" skill attack, it will not deal any or deal zero damage. The opposite members should also apply.


I am a somewhat beginner to scripting in RPG Maker MV. If this is possible, how how can you implement this? Which method that's involved and need to be overloaded or used, and how they work?


PS: I tried to find the method that runs before the attack, which is "Scene_Battle.prototype.onEnemyOk", but I don't think this one can help me here.
 

skeezixs1

Skeezixs1
Veteran
Joined
Jun 13, 2015
Messages
72
Reaction score
10
First Language
English
Primarily Uses
not sure how to do this with javascript but if you want rage to make the player immune to fire based attacks, then in the states settings set elemental rate fire to 0. You can also create special elements in the types, to make other type of skills blockable or buffable. One I like to have is an undead element. So I can have the cleric with a turn undead spell that works only on undead. all non undead mobs will have elemental resist undead 0 while undead I would not have any resist to this spell line at all. 

rage.png
 

Dark Aurora

Villager
Member
Joined
Apr 16, 2016
Messages
5
Reaction score
0
First Language
Indonesia
Primarily Uses
Ah, I see. However, what if the attack has a status alignment? I am asking for a JavaScript-implemented one because some attacks have their own scripts.


Through I appreciate your attempt, @skeezixs1. Thank you.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

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,470
Members
137,821
Latest member
Capterson
Top