[10458] Changes to corpse decay/respawn times for creatures

*CORPSE_DECAY values adjusted (Rare/RareElite values are guessed) with more proper.
*RATE_CORPSE_DECAY_LOOTED is now 0.0 as default and a modifier of the creatures spawntimesecs are used for corpse decay.

Respawn time for creature is now set at death (result: database spawntimesecs are in most cases the time it takes from kill to respawn)

Overall, this will affect four things:
* corpse will stay visible longer before looted
* corpse will stay visible longer after looted, when creature has long respawn time
* creature without loot will "skip" the default decay times and then fix a "should respawn almost instant" -problem
* creature with loot and very short respawn time may respawn instantly after looted

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-09-09 11:57:20 +02:00
parent c196045d15
commit 334398b3f7
7 changed files with 95 additions and 55 deletions

View file

@ -869,12 +869,12 @@ TalentsInspecting = 1
# Corpse.Decay.ELITE
# Corpse.Decay.RAREELITE
# Corpse.Decay.WORLDBOSS
# Seconds until creature corpse will decay without being looted or skinned.
# Default: 60, 300, 300, 300, 3600
# Seconds until creature corpse will decay without being looted or skinned (not used when creature does not have loot initially)
# Default: 300, 900, 600, 1200, 3600
#
# Rate.Corpse.Decay.Looted
# Controls how long the creature corpse stays after it had been looted, as a multiplier of its Corpse.Decay.* config.
# Default: 0.1
# Default: 0.0 (will use modifier /3 of the creatures spawntimesecs when 0.0)
#
# Rate.Creature.Normal.Damage
# Rate.Creature.Elite.Elite.Damage
@ -922,12 +922,12 @@ CreatureFamilyAssistanceDelay = 1500
CreatureFamilyFleeDelay = 7000
WorldBossLevelDiff = 3
Corpse.EmptyLootShow = 1
Corpse.Decay.NORMAL = 60
Corpse.Decay.RARE = 300
Corpse.Decay.ELITE = 300
Corpse.Decay.RAREELITE = 300
Corpse.Decay.NORMAL = 300
Corpse.Decay.RARE = 900
Corpse.Decay.ELITE = 600
Corpse.Decay.RAREELITE = 1200
Corpse.Decay.WORLDBOSS = 3600
Rate.Corpse.Decay.Looted = 0.1
Rate.Corpse.Decay.Looted = 0.0
Rate.Creature.Normal.Damage = 1
Rate.Creature.Elite.Elite.Damage = 1
Rate.Creature.Elite.RAREELITE.Damage = 1