Master_Elric
Member
I can't seem to get any help on Creation Asylum for this. Basically, I need a Blue Magic Script. SephirothSpawn posted a script but I can't get it to work. Anyway, what I need is:
1. Only works for the hero with a database number of 001.
2. Displays a message when the hero LEARNS the skill. If he knows it, the message won't show again.
Actually, I'm amazed. Of all the Final Fantasy Based Scripts out there, this is one that was never created without a request. And Blue Magic exists in almost every Final Fantasy game.
Anyway, if it helps, this is the script SephirothSpawn posted:
1. Only works for the hero with a database number of 001.
2. Displays a message when the hero LEARNS the skill. If he knows it, the message won't show again.
Actually, I'm amazed. Of all the Final Fantasy Based Scripts out there, this is one that was never created without a request. And Blue Magic exists in almost every Final Fantasy game.
Anyway, if it helps, this is the script SephirothSpawn posted:
Code:
class Game_Battler
Blue_Magics = [2,3]
attr_accessor :learn_blue_magic
alias seph_bluemagic_gmbtlr_se skill_effect
def skill_effect(user, skill)
seph_bluemagic_gmbtlr_se(user, skill)
if self.learn_blue_magic
if Blue_Magics.include?(skill.id)
unless self.skills.include?(skill.id)
self.learn_skill(skill.id)
self.damage = "You learned #{skill.name}! #{self.damage}"
self.damage_pop = true
end
end
end
end
end