Added class GameData::Weather

This commit is contained in:
Maruno17
2021-03-27 19:47:34 +00:00
parent 8975d7a20c
commit b5c8c6ba26
12 changed files with 252 additions and 187 deletions

View File

@@ -81,7 +81,7 @@ class Game_Screen
# duration : time
#-----------------------------------------------------------------------------
def weather(type, power, duration)
@weather_type = type
@weather_type = GameData::Weather.get(type).id
@weather_max = (power + 1) * RPG::Weather::MAX_SPRITES / 10
@weather_duration = duration # In 1/20ths of a seconds
end