Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if YEM::BATTLE_ENGINE::SKILL_COMMANDS[item][2] != nil
- if YEM::BATTLE_ENGINE::SKILL_COMMANDS[item][2][0] == "w" and actor.weapons.include?(YEM::BATTLE_ENGINE::SKILL_COMMANDS[item][2][1])
- valid = false
- elsif YEM::BATTLE_ENGINE::SKILL_COMMANDS[item][2][0] == "a" and actor.armors.include?(YEM::BATTLE_ENGINE::SKILL_COMMANDS[item][2][1])
- valid = false
- else
- valid = true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement