src/Game Objects/Game_Battle_Commands.rb
#--------------------------------------------------------------------------
# * Add new Item command
#     skill : skill object
#--------------------------------------------------------------------------
Add new Item command
skill : skill object
Add new Item command skill : skill object
def add_skill_command(skill)
    id = Utilities.generate_battle_command_uid("BC_SKILL_"+skill.id.to_s)
    if (!@data.include?(id))
      @data[id] = Skill_Command.new(id, skill.id)
    end
    return @data[id]
  end
def add_skill_command ( skill ) id = Utilities . generate_battle_command_uid ( "BC_SKILL_" + skill . id . to_s ) if ( ! @data . include? ( id ) ) @data [ id ] = Skill_Command . new ( id , skill . id ) end return @data [ id ] end
Add new Item command
skill : skill object
Add new Item command skill : skill object
skill
<not_specific>