From 925ef4686f339c4c4ca1b5917950635f4215afee Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 19 Nov 2011 23:00:41 +0200 Subject: [PATCH] Some more tweaks --- data/balanceVT.cfg | 4 ++-- data/qcsrc/server/vore.qc | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/data/balanceVT.cfg b/data/balanceVT.cfg index fc4fce28..16a42206 100644 --- a/data/balanceVT.cfg +++ b/data/balanceVT.cfg @@ -216,8 +216,8 @@ set g_balance_vore_regurgitate_delay 0.5 "regurgitation delay" set g_balance_vore_regurgitate_predator_punchangle 12 "your view gets tilted by this amount when regurgitating someone" set g_balance_vore_regurgitate_predator_punchangle_item 6 "your view gets tilted by this amount when regurgitating an item" set g_balance_vore_regurgitate_prey_punchvector 50 "your view gets lowered by this amount when getting regurgitated" -set g_balance_vore_digestion_damage 4 "amount of damage applied to victims during digestion" -set g_balance_vore_digestion_damage_death 2 "amplify digestion damage by this amount when the prey is dead" +set g_balance_vore_digestion_damage 3 "amount of damage applied to victims during digestion" +set g_balance_vore_digestion_damage_death 3 "amount of damage applied to dead victims during digestion" set g_balance_vore_digestion_damage_item 1 "amount of damage applied to items during digestion" set g_balance_vore_digestion_limit -100 "prey can be digested down to this amount of health" set g_balance_vore_digestion_limit_regurgitate 1 "the predator automatically regurgitates prey that has reached the digestion limit" diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index ffe88bdc..b7a71a2a 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -463,9 +463,10 @@ void Vore_Digest() if(cvar("g_healthsize") && cvar("g_balance_vore_digestion_scalediff")) // apply player scale to digestion damage damage_offset *= pow(self.scale / self.predator.scale, cvar("g_balance_vore_digestion_scalediff")); - damage = cvar("g_balance_vore_digestion_damage") / damage_offset; - if(cvar("g_balance_vore_digestion_damage_death") && self.deadflag != DEAD_NO) // amplify digestion damage for dead prey - damage *= cvar("g_balance_vore_digestion_damage_death"); + if(self.deadflag != DEAD_NO) + damage = cvar("g_balance_vore_digestion_damage_death") / damage_offset; + else + damage = cvar("g_balance_vore_digestion_damage") / damage_offset; Damage(self, self.predator, self.predator, damage, DEATH_DIGESTION, self.origin, '0 0 0'); if(cvar("g_balance_vore_digestion_vampire") && self.predator.health < cvar("g_balance_vore_digestion_vampire_stable")) -- 2.39.2