Advertisement
FlipelyFlip

Untitled

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