mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-31 10:22:32 +00:00
Change Ground Spawn respawn timers to match normal spawns (msec to sec). Highly recommended sql included!
This commit is contained in:
parent
9af9deb0f5
commit
97873ff42d
@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE `ground_spawns` MODIFY `respawn_timer` int(11) unsigned NOT NULL default 300;
|
||||||
|
UPDATE `ground_spawns` SET `respawn_timer` = `respawn_timer` / 1000;
|
||||||
@ -70,7 +70,7 @@ Object::Object(uint32 id, uint32 type, uint32 icon, const Object_Struct& object,
|
|||||||
|
|
||||||
//creating a re-ocurring ground spawn.
|
//creating a re-ocurring ground spawn.
|
||||||
Object::Object(const EQEmu::ItemInstance* inst, char* name,float max_x,float min_x,float max_y,float min_y,float z,float heading,uint32 respawntimer)
|
Object::Object(const EQEmu::ItemInstance* inst, char* name,float max_x,float min_x,float max_y,float min_y,float z,float heading,uint32 respawntimer)
|
||||||
: respawn_timer(respawntimer), decay_timer(300000)
|
: respawn_timer(respawntimer * 1000), decay_timer(300000)
|
||||||
{
|
{
|
||||||
|
|
||||||
user = nullptr;
|
user = nullptr;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user