Advertisement
marlosgama

Untitled

Apr 6th, 2020
799
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.28 KB | None | 0 0
  1.   def update_attack
  2.     return if @weapon_attack_time > Time.now
  3.     # Só começa a contar o tempo do ataque se
  4.     #não tiver ocupado com mensagem
  5.     $network.send_player_attack if Input.press?(Configs::ATTACK_KEY) && !$game_map.interpreter.running? && can_attack? && !$typing
  6.   end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement