Jump to content
New account registrations are disabed. This website is now an archive. Read more here.

mb777

Member
  • Content Count

    3
  • Joined

  • Last visited

  1. no, actually, i created a new project just for the script
  2. didnt work, got the same error, testred with Cure ++ and blink (and other buff spells) :( !
  3. hi guys im new here. this problem its making mi head blow up , i dotn know at all the language of scripting, so please can you help me with this? i just downloaded this bluemagic (mog) script and it worked very good, the party members learned the spells and all, but just 1 problem and it fucked all when monster cast spells to themselves (Heals, buffs, etc) the game crashes and this error show up and here is the script #_______________________________________________________________________________ # MOG_Blue Magic V1.3 #_______________________________________________________________________________ # By Moghunter # http://www.atelier-rgss.com #_______________________________________________________________________________ # Permite que os personagens aprendam as magias dos inimigos. # Para definir quais magias serão aprendidas devemos criar um # atributo com o nome de "Blue Skill" e atribuir à habilidade # desejada, e após isso criar uma classe com o nome de "Blue Mage" # e atribuí-lo aos personagens que poderão aprender as magias. #_______________________________________________________________________________ module MOG #Nome da classe que poderá aprender as magias. CLASS_LEARN = "Blue Mage" #Nome do atributo do banco do dados.(Skills que poderão ser #aprendidas) ELE_LEARN = "Blue Skill" #Texto apresentado quando se aprende a Magia. TEXT_LEARN = "Learned" #Definição do som quando se aprende a Magia. SE_LEARN = "086-Action01" end #=============================================================================== # Scene_Battle #=============================================================================== class Scene_Battle #-------------------------------------------------------------------------- # Update Status #-------------------------------------------------------------------------- alias mog55_update_phase4_step6 update_phase4_step6 def update_phase4_step6 if @active_battler.is_a?(Game_Enemy) and @active_battler.current_action.kind == 1 for tr in @target_battlers if not tr.dead? learn_skill(tr,@active_battler.current_action.skill_id) end end end mog55_update_phase4_step6 end #-------------------------------------------------------------------------- # learn_skill #-------------------------------------------------------------------------- def learn_skill(tr, skill_id) unless tr.skill_learn?(skill_id) if @skill.element_set.include?($data_system.elements.index(MOG::ELE_LEARN)) and tr.class_name == MOG::CLASS_LEARN tr.learn_skill(skill_id) tr.damage = MOG::TEXT_LEARN tr.damage_pop = true Audio.se_play("Audio/SE/" + MOG::SE_LEARN, 100, 100) rescue nil end return true end return false end end $mog_rgss_Blue_Magic = true what i can do to fix it :( ?
×
×
  • Create New...