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.

Speed up attack

hi i'm using  Guillaume777's Multi-Slot Equipment Script
i've got some onr usin two weapons which means he does two attacks but i thinj the time between attacks is too long
is there anyone that can tell me how to decrease the time?
 
Add this above 'Main' but under the default scripts.
Credits go to Sandgolem.

Code:
module RPG
  class Sprite < ::Sprite    
    if !method_defined?('sandgolem_quicker_sprite_effect?')
      alias sandgolem_quicker_sprite_effect? effect?
    end
    def effect?
      if $scene.is_a?(Scene_Battle)
        @_whiten_duration > 10 or
        @_appear_duration > 10  or
        @_escape_duration > 0 or
        @_collapse_duration > 10 or
        @_damage_duration > 10 or
        @_animation_duration > 10
      else
        sandgolem_quicker_sprite_effect?
      end
    end   
  end
end

The lower the numbers the faster everything will go.
Cheers~
 

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