• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
Resource icon

Resource Changed move type display script 0.1

Charmingloopy

Made and Lost Dev
Member
Joined
Aug 10, 2021
Posts
7
Charmingloopy submitted a new resource:

Changed move type display - Move UI qol

Ruby:
Expand Collapse Copy
# updates move type ui based on abilities that change it.
class Battle::Move
  def type_ui_modifiers(battler)
    
    if @realMove.display_type(battler.pokemon) == :NORMAL and battler.ability == :PIXILATE
      return :FAIRY
    end
  if @realMove.display_type(battler.pokemon) == :NORMAL and battler.ability == :AERILATE
      return :FLYING
    end
  if @realMove.display_type(battler.pokemon) == :NORMAL and battler.ability == :REFRIGERATE
      return :ICE
    end
  if...

Read more about this resource...
 

Smellyski

Rookie
Member
Joined
Jun 20, 2021
Posts
5
I finally got a chance to work on Liquid Voice and it was supes easy. Here is the code if anyone is interested.

Ruby:
Expand Collapse Copy
if soundMove? && battler.ability == :LIQUIDVOICE
    return :WATER
end
 
Back
Top