Troque :quimera555 escreveu:O meu esta dando um Erro
- Código:
weapon_level = LMM_LevelEquip::WEAPON_LEVEL[$mouse.object.id]
armor_level = LMM_LevelEquip::ARMOR_LEVEL[$mouse.object.id]
if weapon_level != nil or armor_level != nil
if weapon_level > $game_party.actors[0].level or armor_level > $game_party.actors[0].level
$windows[:chat].write(LMM_LevelEquip::LVL_ERROR, 5)
return
end
end
- Código:
weapon_level = LMM_LevelEquip::WEAPON_LEVEL[$mouse.object.id]
armor_level = LMM_LevelEquip::ARMOR_LEVEL[$mouse.object.id]
if (weapon_level != nil and weapon_level > $game_party.actors[0].level) or (armor_level != nil and armor_level > $game_party.actors[0].level )
$windows[:chat].write(LMM_LevelEquip::LVL_ERROR, 5)
return
end
--
Tópico atualizado galera, correção de bug.