]> git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Always clear the armor of a dead player. Also tweak the balancing a bit more
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 19 Nov 2011 21:17:13 +0000 (23:17 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 19 Nov 2011 21:17:13 +0000 (23:17 +0200)
data/balanceVT.cfg
data/qcsrc/server/g_damage.qc

index 16a42206e09da46e5c7f5355fae13df37fc40077..5dee25a77046c6b16cc583c3e38a88bf6487e00a 100644 (file)
@@ -87,7 +87,7 @@ set g_balance_health_limit 200
 set g_balance_armor_regenstable 100\r
 set g_balance_armor_rotstable 100\r
 set g_balance_armor_limit 100\r
-set g_balance_armor_blockpercent 0.4\r
+set g_balance_armor_blockpercent 0.3\r
 set g_balance_fuel_regen 0.1 "fuel regeneration (only applies if the player owns IT_FUEL_REGEN)"\r
 set g_balance_fuel_regenlinear 0\r
 set g_balance_pause_fuel_regen 2 // other than this, fuel uses the health regen counter\r
@@ -217,7 +217,7 @@ set g_balance_vore_regurgitate_predator_punchangle 12 "your view gets tilted by
 set g_balance_vore_regurgitate_predator_punchangle_item 6 "your view gets tilted by this amount when regurgitating an item"\r
 set g_balance_vore_regurgitate_prey_punchvector 50 "your view gets lowered by this amount when getting regurgitated"\r
 set g_balance_vore_digestion_damage 3 "amount of damage applied to victims during digestion"\r
-set g_balance_vore_digestion_damage_death 3 "amount of damage applied to dead victims during digestion"\r
+set g_balance_vore_digestion_damage_death 4 "amount of damage applied to dead victims during digestion"\r
 set g_balance_vore_digestion_damage_item 1 "amount of damage applied to items during digestion"\r
 set g_balance_vore_digestion_limit -100 "prey can be digested down to this amount of health"\r
 set g_balance_vore_digestion_limit_regurgitate 1 "the predator automatically regurgitates prey that has reached the digestion limit"\r
@@ -228,7 +228,7 @@ set g_balance_vore_digestion_distribute 0.1 "if enabled, digestion is reduced by
 set g_balance_vore_digestion_scalediff 0.5 "if enabled, digestion damage is affected by the size of the predator compared to the size of the prey by this amount"\r
 set g_balance_vore_teamheal 1 "when enabled, having a team mate in your stomach will keep healing them by this amount"\r
 set g_balance_vore_teamheal_stable 150 "maximum amount of health you can gain from a teamheal (best kept equal or less than g_balance_health_rotstable)"
-set g_balance_vore_kick_damage 30 "amount of damage you can do during stomach kick"
+set g_balance_vore_kick_damage 25 "amount of damage you can do during stomach kick"
 set g_balance_vore_kick_delay 0.6 "how many seconds must pass before you can perform another stomach kick"\r
 set g_balance_vore_kick_force 320 "predators are pushed by this amount when stomach kicked, in the direction their prey is facing"\r
 set g_balance_vore_kick_repress 0 "require pressing the fire key each kick rather than holding it down"\r
index 31f86668e9c15fa4bd764fde25ca99e25c24e47e..65e2c0920287a1fba9cdb210d0a29fde8f0ae7de 100644 (file)
@@ -633,6 +633,9 @@ void Obituary (entity attacker, entity inflictor, entity targ, float deathtype)
                        LogDeath("accident", deathtype, targ, targ);\r
                }\r
 \r
+               // we lose all armor when we die\r
+               targ.armorvalue = 0;\r
+\r
                targ.death_origin = targ.origin;\r
                if(targ != attacker)\r
                        targ.killer_origin = attacker.origin;\r