Changing inflicted state on a skill, based on weapon element?

ErinTheKnight

Villager
Member
Joined
Oct 10, 2017
Messages
5
Reaction score
1
First Language
English
Primarily Uses
RMMV
Hello!

Im making a Elemental Gauntlet type weapon that grants the skill "Gauntlet Blast". I'm trying to get it so that this one skill inflicts different states based on the weapons element. For example...

My Fire Gauntlet when casting "Gauntlet Blast" has a 30% chance to "Burn"
But my Ice Gauntlet using "Gauntlet Blast" has a 30% to Freeze.

Is this something that can be done raw? Or do I need a plugin?

Thank you in advance for all the help!
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,656
Reaction score
2,981
First Language
Tagalog
Primarily Uses
If the skill is given by the weapons, just make 2 Gauntlet Blast skills.. One for the Fire, one for the Ice.

Else you can either also do this via common events that the skill runs, or using the damage formula to add the state after checking the element of the weapon.
 

ErinTheKnight

Villager
Member
Joined
Oct 10, 2017
Messages
5
Reaction score
1
First Language
English
Primarily Uses
RMMV
I figured out how to add the state with the formula, but how can I check the element with it?
 

Wavelength

Pre-Merge Boot
Global Mod
Joined
Jul 22, 2014
Messages
4,612
Reaction score
3,864
First Language
English
Primarily Uses
RMVXA
There is a way to check the element using code in the formula (instead of needing plugins), but I agree with @Engr. Adiktuzmiko that you're probably making things harder on yourself than you need to.

Why not make two or more different skills that are each called "Gauntlet Blast", with a different element and a different (or even the same) animation? And have the State for that element be inflicted using the Features Box. That way, you could have each type of Gauntlet add the appropriate-element Gauntlet Blast skill while it's equipped (for example, Fire Gauntlet would add the version of Gauntlet Blast that deals Fire Damage and has a 30% chance to inflict Burn).
 

ErinTheKnight

Villager
Member
Joined
Oct 10, 2017
Messages
5
Reaction score
1
First Language
English
Primarily Uses
RMMV
Fair enough. Thank you both! Its late, and I'm over thinking haha!


EDIT: Tried that, and now I have two copies of the Gauntlet Blast skill. They share the same name, but difrent ID's, and the BOTH show up when one item is equiped.


TLRD Fire gauntlet can use the ice skill. What am I doing wrong?
 
Last edited:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,656
Reaction score
2,981
First Language
Tagalog
Primarily Uses
Make the fire gauntlet add the fire blast only, and the ice gauntlet add the ice blast only.. Do it via their feature box so that they only add it when equipped. Make sure that the actor or its class doesnt have the blast in their skill list.

If thats what you did and it gives both, please post a screenshot of your equipment data.
 

ErinTheKnight

Villager
Member
Joined
Oct 10, 2017
Messages
5
Reaction score
1
First Language
English
Primarily Uses
RMMV
Turns out there was a default skill that shared the id of the ice blast.....on the learned skills list. Thank you all for your help, im going to go cope with how much of a fool I am haha!
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,656
Reaction score
2,981
First Language
Tagalog
Primarily Uses
I see... I always remove all default skills from actor/classes first
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I'm the king of idiots. How did I miss that in the contract, I would never have signed it if I knew, now I can say goodbye to my pay which will have dire consequences for so many things :(.
Person: "Taxes are bs and money is, too! Anarchy!!" *Literally anything goes wrong* Same Person: "Why hasn't the government fixed this???"
Stream will be live shortly with a session of Haunting Ground! Feel free to drop by!
As for the Coronavirus? Well: "People that spend their life avoiding death are already dead (they're also rich, and I like to spend my life with their money.)"
- R. Sanchez, "Edge of Tomorty: Rick, Die, Repeat"

Forum statistics

Threads
94,346
Messages
920,117
Members
124,107
Latest member
59412a
Top