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
668
Reaction score
560
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
668
Reaction score
560
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

I've been working on something on and off for a few years now, and I've been reluctant to share any details on the project before I had anything playable because I did not want to generate hype only for the project to go back on hiatus. That being said I believe what I'm working on is very unique and pushes the boundaries of what RPG Maker projects can be. Bold claims, I know but just wait.
Happy Mother's Day to all the moms :)
Create Anime Art w/ AI, Tall Sprites with Aurora, Customize Variable Display | RPG Maker News #34

[My favorite slow moving track I've made so far]
dd_airport2.jpgdd_combat.jpg
dd_town.jpg
I did an experiment to try to solve the art style problem between RTP and 3D models.
But, it feels this grimdark world is going to end even faster. :kaoswt2:

Forum statistics

Threads
111,193
Messages
1,059,166
Members
144,440
Latest member
Kono
Top