mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-23 06:46:00 +00:00
General tidying up
This commit is contained in:
@@ -106,9 +106,20 @@ class Game_Event < Game_Character
|
||||
return elapsed>=days
|
||||
end
|
||||
|
||||
def cooledDown?(seconds)
|
||||
return true if expired?(seconds) && tsOff?("A")
|
||||
self.need_refresh = true
|
||||
return false
|
||||
end
|
||||
|
||||
def cooledDownDays?(days)
|
||||
return true if expiredDays?(days) && tsOff?("A")
|
||||
self.need_refresh = true
|
||||
return false
|
||||
end
|
||||
|
||||
def onEvent?
|
||||
return @map_id==$game_map.map_id &&
|
||||
$game_player.x==self.x && $game_player.y==self.y
|
||||
return @map_id == $game_map.map_id && $game_player.x == self.x && $game_player.y == self.y
|
||||
end
|
||||
|
||||
def over_trigger?
|
||||
|
||||
Reference in New Issue
Block a user