Adding a weapon's elemental damage to a skill

Mega Man Volnutt

Mega Man Volnutt
Veteran
Joined
Dec 7, 2015
Messages
397
Reaction score
124
First Language
English
Primarily Uses
N/A
Is this possible? PLugin or not. Say I have a weapon that does attack damage of Fire. I also want the skill "Ice" to do fire damage because the weapon has a fire elemental attribute as werid as it sounds.
 

Doktor_Q

I'm not a real doktor, but I am a real Q
Veteran
Joined
Aug 1, 2016
Messages
881
Reaction score
573
First Language
English
Primarily Uses
RMMV
On the skill's settings, in the top right where you specify damage properties, Element -> Normal Attack.

This means it will always do the same element as your normal weapon, so it might not be what you're asking for, but RPGMaker doesn't distinguish between a "default element" and a "special element" by itself. You might be able to make something like that work if you mess around with Yanfly's Element Core and some javascript in a lunatic mode for Skill Core (if (element == physical, I guess?) element = ice?)/
 

Mega Man Volnutt

Mega Man Volnutt
Veteran
Joined
Dec 7, 2015
Messages
397
Reaction score
124
First Language
English
Primarily Uses
N/A
On the skill's settings, in the top right where you specify damage properties, Element -> Normal Attack.

This means it will always do the same element as your normal weapon, so it might not be what you're asking for, but RPGMaker doesn't distinguish between a "default element" and a "special element" by itself. You might be able to make something like that work if you mess around with Yanfly's Element Core and some javascript in a lunatic mode for Skill Core (if (element == physical, I guess?) element = ice?)/
Do you think it'd be possible if I could use Yanfly's element core and write off something like this in each skill?
<Multiple Elements: Normal Attack>
 

Restart

Veteran
Veteran
Joined
Mar 15, 2019
Messages
706
Reaction score
583
First Language
English
Primarily Uses
RMMV
Is this possible? PLugin or not. Say I have a weapon that does attack damage of Fire. I also want the skill "Ice" to do fire damage because the weapon has a fire elemental attribute as werid as it sounds.
Just that particular 'ice' skill?

Or do you want all skills to change to fire element with that specific weapon?

Or do you want to have every weapon with an elemental attack to effect every skill?
 

Mega Man Volnutt

Mega Man Volnutt
Veteran
Joined
Dec 7, 2015
Messages
397
Reaction score
124
First Language
English
Primarily Uses
N/A
Just that particular 'ice' skill?

Or do you want all skills to change to fire element with that specific weapon?

Or do you want to have every weapon with an elemental attack to effect every skill?
The latter. I want to have every skill to do whatever element it has AND whatever element the weapon has.
 

Restart

Veteran
Veteran
Joined
Mar 15, 2019
Messages
706
Reaction score
583
First Language
English
Primarily Uses
RMMV
The latter. I want to have every skill to do whatever element it has AND whatever element the weapon has.
Okay, here's one way that should do it:

First, use yanfly's auto passive states to add a hidden state for each weapon, which sets the type of element it should add to skills ( http://yanfly.moe/2015/10/17/yep-13-auto-passive-states/ )

Then, you'll use Yanfly's action sequences ( http://yanfly.moe/2015/10/11/yep-4-action-sequence-pack-1/ ) combined with the element core ( http://yanfly.moe/2016/06/10/yep-107-element-core-rpg-maker-mv/ )

In your <setup action> for each skill that should change elements, include a block that looks something like this:
Code:
if user.isStateAffected(waterweapon)

add element: water

else if user.isStateAffected(fireweapon)

add element: fire

else if user.isStateAffected(windweapon)

add element: wind

else if user.isStateAffected(waterweapon)

add element: water

else if user.isStateAffected(heartweapon)

add element: heart

end

It's ugly, but it should work.
 

Latest Threads

Latest Profile Posts

just beat ff7 original for the first time since 2010. having played remake last year, I have a much better appreciation for the original oddly enough. I still like some of the character presentation in remake more, but the original's got a lot going for it.
Ever reach that moment in your life when your juggling a dozen or more projects that you know will never be made but don't have the heart to delete them? Ugh, I hate those moments...
:kaosigh: Why must you hurt me so?
my main character isn't the warrior of light or the chosen one, he's a self righteous, invasive try hard who gets ahead of himself and makes a critical error, resulting in a downward moral spiral that, eventually, leads him to truths that make him a better man, and im DAMN proud of that.
Generate Actors, Dark Fantasy Monsters, & I Heard There Was a Chosen One, | RPG Maker News #42

Work on Cat Quest: The Last Catmancer continues slowly but surely. :kaopride: Today I received the Game Over screen from @Finnuval!
GameOver.png

Forum statistics

Threads
111,448
Messages
1,061,175
Members
144,812
Latest member
Kitaaku
Top