Advertisement
FlipelyFlip

Fix

Mar 8th, 2013
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.48 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement