Please help with respawn bosses

08/05/2019 21:48 talana1547#1
How can bosses be revived at a specific time and place? For example, Abhava at 20:00 horizon every day? and is it possible to stuff a drop there and increase hp with an attack without affecting the main boss in
moonlight shrine? Sorry for my english :)))
08/06/2019 03:44 ThunderNikk#2
Moving this to the correct forum where people can see it.
08/06/2019 18:18 InkDevil#3
Quote:
Originally Posted by talana1547 View Post
How can bosses be revived at a specific time and place? For example, Abhava at 20:00 horizon every day? and is it possible to stuff a drop there and increase hp with an attack without affecting the main boss in
moonlight shrine? Sorry for my english :)))
You can write a lua-code like
Code:
function spawn_time_bosses()
add_npc() 
--I would suggest you to spawn it timed, so it disappears when the new one spawns
end
Additionally, write a ScheduledCommand-Entry like this one here:
Code:
INSERT INTO [Telecaster].[dbo].[ScheduledCommand] ([sid], [type], [begin_time], [end_time], [interval], [command], [is_finished], [last_launched_time]) VALUES ('1', '0', '2018-02-02 00:00:00.000', '2042-12-31 20:44:03.000', '86400', N'spawn_time_bosses()', '0', '2019-04-09 01:00:00.000')
Then you just have to adjust the time you want in this scheduledcommand-entry. the intervall is already 1 day.
(You can find ScheduledCommand-table in Telecaster)