SinfulPride

Villager
Member
Joined
Sep 22, 2016
Messages
20
Reaction score
4
First Language
English
Primarily Uses
So basically I wanted to know how I would go about doing this.


I have a skill that's physical and a person who is immune to physical attacks, but if the attacker has a specific state, it will add another element (or change?) And be able to attack the defender.
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,573
Reaction score
1,621
First Language
Spanish
Primarily Uses
RMVXA
all elements are separate, so if you add an attack element to a skill against a defender that has a defense against that element, both cancel out (or, process accordingly, add or subtract).

if you add a state to the attacker with the property "attack element", that element transfers to the attack, whatever the attack is, so IT carries over to the defender, and is processed accordingly as if it came from the attacker, regardless of the attacker's origin for elements.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,693
Reaction score
3,023
First Language
Tagalog
Primarily Uses
RMVXA
You could make its element as "Attack Element" then have your state add the Trait "Attack Element". Take note though that this can also affect the elment of Skill #1 (Attack skill) because its set to use the Attack Element by default.

if you add a state to the attacker with the property "attack element", that element transfers to the attack, whatever the attack is

Actually nope, it only affects skills that are set to use "Attack Element" or whatever it is called in the element list (afaik this is the first element in the list). Any skill that uses an actual element does not get affected by the Trait.
 

SinfulPride

Villager
Member
Joined
Sep 22, 2016
Messages
20
Reaction score
4
First Language
English
Primarily Uses
You could make its element as "Attack Element" then have your state add the Trait "Attack Element". Take note though that this can also affect the elment of Skill #1 (Attack skill) because its set to use the Attack Element by default.



Actually nope, it only affects skills that are set to use "Attack Element" or whatever it is called in the element list (afaik this is the first element in the list). Any skill that uses an actual element does not get affected by the Trait.

Thank you, with this and looking at multiple element plugin by yanfly, with a combo of the 2 I got this to work.
 

Latest Threads

Latest Profile Posts

hmm one of those days where there's a lot to work on with my game... annnnnd I have no idea what I wanna do. most of it tho, involves drawing lol. either enemies or NPCs.
I'm going back to the default RTP, in the interest of getting it done. FSM is lovely but slow to work with and has tall doors. And switching to tall sprites would mean a lot of franking, and also the horses will be small.
I think I developed a stalker trauma (stalkerfobia?) because of my previous work publishing games on Steam. :(
RIP, MeatLoaf :( Hot patootie, bless his soul, he really loved that rock 'n roll.
Psychronics Games is doing a livestream about my game in a bit... And I will do a video about his game after that.
Watch their stream with us on youtube!

Forum statistics

Threads
118,574
Messages
1,117,066
Members
155,632
Latest member
GhostFrog
Top