- Joined
- Jul 28, 2020
- Messages
- 56
- Reaction score
- 25
- First Language
- English
- Primarily Uses
- RMMV
I'm seeking the script/reference to elements (like None, Thunder, etc.) under the 'Damage' section for skills. I wish to use it beside the code I have:
if (this.isHpRecover())
Ideally, like:
if (this.isHpRecover() && this.isElement[0]) {
I don't know what the correct script is. I was thinking maybe it'd be index'ed where 0 is None (so if it's Hp.Recover and its Element is None, the code runs). Tried multiple ways, tried string as well, 'None', couldn't get what I wished for. The this.isHpRecover() works fine though, so obviously I'm not referencing the Element None part correctly.
The solution would be sincerely appreciated -- thank you for your time.
if (this.isHpRecover())
Ideally, like:
if (this.isHpRecover() && this.isElement[0]) {
I don't know what the correct script is. I was thinking maybe it'd be index'ed where 0 is None (so if it's Hp.Recover and its Element is None, the code runs). Tried multiple ways, tried string as well, 'None', couldn't get what I wished for. The this.isHpRecover() works fine though, so obviously I'm not referencing the Element None part correctly.
The solution would be sincerely appreciated -- thank you for your time.

