Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Blue Mage

Then change:
Code:
self.damage = self.damage.to_s + ' + Learned Skill'
To
Code:
self.damage = self.damage.to_s + ' + Learned ' + skill.name
And if you can't read what it says when you learn a skill then your skill names are too long for this to work.
 
Sorry I sort of didn't see your post for a while:
Code:
#==============================================================================
# Individual Character Development - Blue Mage by Fomar0153
#==============================================================================
class Game_Party

  attr_accessor :icd_blue_mages
  attr_accessor :icd_blue_mages_all_skills
  attr_accessor :icd_blue_mages_skills
  
  alias fomar_icd_blue_mage_initialize initialize
  def initialize
    fomar_icd_blue_mage_initialize
    @icd_blue_mages = [1, 2, 7, 8]
    @icd_blue_mages_all_skills = true
    @icd_blue_mages_skills = []
  end
end

class Game_Actor < Game_Battler
  
  def skill_effect(user, skill)
    super(user, skill)
    if $game_party.icd_blue_mages.include?(self.id)
      unless $game_party.icd_blue_mages_all_skills == true
        if $game_party.icd_blue_mages_skills.include?(skill.id) and skill.element_set.include?(1)
          self.learn_skill(skill.id)
        end
      else
        if skill.element_set.include?(1)
          self.learn_skill(skill.id)
        end
      end
    end
  end
  
end
There are two instances of skill.element_set.include?(1) change the 1 to the element id of the blue magic.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top