πͺοΈDisasterService
Service for starting disaster events.
Events.Enchant(function(event)
-- Start a Tornado disaster if someone receives the Wind enchant
if (event.enchant == EnchantType.WIND_3) then
DisasterService.startDisaster(DisasterType.TORNADO, 3 * 60)
end
end)Functions
startDisaster(disasterType: DisasterType, duration: number)
Last updated