- Joined
- Jul 5, 2019
- Messages
- 14
- Reaction score
- 8
- First Language
- English
- Primarily Uses
- RMVXA
So I have a skill called Shield Bash, and the user needs to have a shield equipped to use it. I am currently using Yanfly's Custom Skill Manager cost script, and have the following code in the note tag:
The code checks to see if actor 1 has a shield, and makes the skill usable. However, I don't need it to check if actor 1 has a shield equipped, I need it to check if the user has a shield equipped.
Thanks in advance!
Code:
$game_actors[1].equips[1] && $game_actors[1].equips[1].etype_id >= 1
The code checks to see if actor 1 has a shield, and makes the skill usable. However, I don't need it to check if actor 1 has a shield equipped, I need it to check if the user has a shield equipped.
Thanks in advance!