SHOW:
|
|
- or go back to the newest paste.
1 | if YEM::BATTLE_ENGINE::SKILL_COMMANDS[item][2] != nil | |
2 | if YEM::BATTLE_ENGINE::SKILL_COMMANDS[item][2][0] == "w" and actor.weapons.include?(YEM::BATTLE_ENGINE::SKILL_COMMANDS[item][2][1]) | |
3 | valid = false | |
4 | elsif YEM::BATTLE_ENGINE::SKILL_COMMANDS[item][2][0] == "a" and actor.armors.include?(YEM::BATTLE_ENGINE::SKILL_COMMANDS[item][2][1]) | |
5 | valid = false | |
6 | else | |
7 | valid = true | |
8 | end | |
9 | - | end |
9 | + | end |
10 | end |