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.

Mr.Bubbles Skill Demo Set Help

Ok, still new to this.

So i have Bub's Skill Demo Set 1, and it has what i can assume all of these awesome animations (and a how-to on making your own animations), but i dont know how to trigger the animations.
Code:
module RPG

  class Skill

    alias bubs_custom_skills_base_action base_action

    def base_action

      case @id

      when 105

        return "EMBRACEEND"

      when 106

        return "BEAT_RUSH"

      when 107

        return "SOMERSAULT"

      when 108

        return "WATERKICK"

      when 109

        return "METEODRIVE"

      when 110

        return "DOLPHINBLOW"

      when 111

        return "METEORSTRIKE"

      when 112

        return "FINALHEAVEN"

      when 113

        return "SOUTHCROSS"

      when 114 

        return "SOUTHCROSS_STATEGRANT" # Assist's

      when 115

        return "FIREBALL"

      when 116

        return "ANTIPODE"

      when 117

        return "ANTIPODE_STATEGRANT" # Assist's

      when 118

        return "OMNISLASH"

      when 124

        return "HEADWIND"

      when 125

        return "LOGIC_BOMB"

      when 126

        return "BACKSTAB"

      end

      bubs_custom_skills_base_action

    end

    alias bubs_custom_skills_skill_extension extension

    def extension

      case @id

      when 114 # Southern Cross Assist

        return ["HELPHIDE","NOFLASH"]

      when 117 # Antipode Assist

        return ["HELPHIDE","NOFLASH"]

      when 118 # Omnislash

        return ["RANDOMTARGET"]

      end

      bubs_custom_skills_skill_extension

    end

  end

  class State

    alias bubs_custom_skills_state_extension extension

    def extension

    case @id

      when 21 # Southern Cross State

        return ["ZEROTURNLIFT","HIDEICON"]

      when 22 # Antipode State

        return ["ZEROTURNLIFT","HIDEICON"]

      end

      bubs_custom_skills_state_extension

    end

  end

end
this code is (i think) what triggers the animations, but what is the "@id"? is it the skill number, the name of the skill, the associated element...

any help is appreciated.
 

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