- Joined
- Feb 9, 2014
- Messages
- 10
- Reaction score
- 1
- First Language
- English
- Primarily Uses
When I need to add codition whether skill's element is physical or magical in yanfly's buff & state control,
I could use this.isPhysical() or this.isMagical(). But I don't know about element.
I tried to search information about this topic but there's no method.
How can I check elementID in custom effects, like <Custom React Effect>... etc?
- I used this but don't work.
I could use this.isPhysical() or this.isMagical(). But I don't know about element.
I tried to search information about this topic but there's no method.
How can I check elementID in custom effects, like <Custom React Effect>... etc?
- I used this but don't work.
Code:
if (this.Skill().damage.elementId === 2)
Last edited by a moderator:

