Kingdom Ablaze
Sponsor
so what i am doing is trying to make it so if a skill has the darkness element it will subtract 10% of your current hp(when you cast that spell) here is what i have so far based on what i know about xp. i am currently getting a error on line 7, i dont want you to write the code for me i am trying to learn how to mod battle stuff myself; but i would really appreciate if you could point me in the right direction about what i need to do to get there
oh ya, p.s. im new to vx just got it 3 days ago
Code:
module Darkness
 ELEMENT = 16
end
Â
class RPG::Skill
 alias Darkness_Skill
if $data_skills[@id].element_set.include?(Darkness::ELEMENT)
Â
   return
  end
end
oh ya, p.s. im new to vx just got it 3 days ago