From cfa8ff7bd6e001742f6149a84944966c85e2b1e2 Mon Sep 17 00:00:00 2001 From: Brian Date: Sat, 30 Jan 2010 08:05:08 -0700 Subject: * Set the default spawntimesecs for creatures / gameobjects added in game to 5 minutes * Was 25 seconds * Thanks Paradox --HG-- branch : trunk --- src/game/Creature.cpp | 2 +- src/game/GameObject.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index c486592e54b..6e0eb68ef5f 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -147,7 +147,7 @@ Creature::Creature() : Unit(), lootForPickPocketed(false), lootForBody(false), m_groupLootTimer(0), lootingGroupLeaderGUID(0), m_lootMoney(0), m_lootRecipient(0), -m_deathTimer(0), m_respawnTime(0), m_respawnDelay(25), m_corpseDelay(60), m_respawnradius(0.0f), +m_deathTimer(0), m_respawnTime(0), m_respawnDelay(300), m_corpseDelay(60), m_respawnradius(0.0f), m_defaultMovementType(IDLE_MOTION_TYPE), m_DBTableGuid(0), m_equipmentId(0), m_AlreadyCallAssistance(false), m_regenHealth(true), m_AI_locked(false), m_isDeadByDefault(false), m_meleeDamageSchoolMask(SPELL_SCHOOL_MASK_NORMAL), m_creatureInfo(NULL), m_reactState(REACT_AGGRESSIVE), m_formation(NULL) diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp index 2b69dac6134..07cf49f98f8 100644 --- a/src/game/GameObject.cpp +++ b/src/game/GameObject.cpp @@ -49,7 +49,7 @@ GameObject::GameObject() : WorldObject(), m_goValue(new GameObjectValue) m_valuesCount = GAMEOBJECT_END; m_respawnTime = 0; - m_respawnDelayTime = 25; + m_respawnDelayTime = 300; m_lootState = GO_NOT_READY; m_spawnedByDefault = true; m_usetimes = 0; -- cgit v1.2.3