*Remove corpse reclaim delay for pve. Check your conf file to make sure it is disabled.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-04 20:50:26 -06:00
parent ae5e608c00
commit 649ab47d54
2 changed files with 8 additions and 4 deletions
+7 -3
View File
@@ -18808,11 +18808,13 @@ void Player::UpdateAreaDependentAuras( uint32 newArea )
uint32 Player::GetCorpseReclaimDelay(bool pvp) const uint32 Player::GetCorpseReclaimDelay(bool pvp) const
{ {
if( pvp && !sWorld.getConfig(CONFIG_DEATH_CORPSE_RECLAIM_DELAY_PVP) || if(pvp)
!pvp && !sWorld.getConfig(CONFIG_DEATH_CORPSE_RECLAIM_DELAY_PVE) )
{ {
return copseReclaimDelay[0]; if(!sWorld.getConfig(CONFIG_DEATH_CORPSE_RECLAIM_DELAY_PVP))
return copseReclaimDelay[0];
} }
else if(!sWorld.getConfig(CONFIG_DEATH_CORPSE_RECLAIM_DELAY_PVE) )
return 0;
time_t now = time(NULL); time_t now = time(NULL);
// 0..2 full period // 0..2 full period
@@ -18883,6 +18885,8 @@ void Player::SendCorpseReclaimDelay(bool load)
else else
delay = GetCorpseReclaimDelay(pvp); delay = GetCorpseReclaimDelay(pvp);
if(!delay) return;
//! corpse reclaim delay 30 * 1000ms or longer at often deaths //! corpse reclaim delay 30 * 1000ms or longer at often deaths
WorldPacket data(SMSG_CORPSE_RECLAIM_DELAY, 4); WorldPacket data(SMSG_CORPSE_RECLAIM_DELAY, 4);
data << uint32(delay*1000); data << uint32(delay*1000);
+1 -1
View File
@@ -1098,7 +1098,7 @@ DurabilityLossChance.Parry = 0.05
DurabilityLossChance.Block = 0.05 DurabilityLossChance.Block = 0.05
Death.SicknessLevel = 11 Death.SicknessLevel = 11
Death.CorpseReclaimDelay.PvP = 1 Death.CorpseReclaimDelay.PvP = 1
Death.CorpseReclaimDelay.PvE = 1 Death.CorpseReclaimDelay.PvE = 0
################################################################################################################### ###################################################################################################################
# #