]> git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Fix my last commit
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 2 Aug 2011 12:49:30 +0000 (15:49 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 2 Aug 2011 12:49:30 +0000 (15:49 +0300)
data/balanceVT.cfg
data/qcsrc/server/cl_client.qc

index 25afa474bac66fbaf6fcfffe4640ffa324f9951e..93ad37593a887715c37e1d64ae45c84a0ab31184 100644 (file)
@@ -218,7 +218,7 @@ set g_balance_vore_digestion_vampire 0.2 "amount of health you gain from digesti
 set g_balance_vore_digestion_vampire_stable 150 "maximum amount of health you can gain from digestion (best kept equal or less than g_balance_health_rotstable)"\r
 set g_balance_vore_digestion_distribute 1 "if enabled, digestion is reduced by the amount of prey you have. eg: having 2 prey will reduce digestion strength by 2"\r
 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_digestion_shrinkdeadprey 0.25 "if g_balance_vore_digestion_limit is smaller than 0, dead prey will be shrunken the closer it gets to the digestion limit, down to this amount"\r
+set g_balance_vore_digestion_shrinkdeadprey 0.5 "if g_balance_vore_digestion_limit is smaller than 0, dead prey will be shrunken the closer it gets to the digestion limit, by this scale"\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"
index f8f0b464585f01471f7bba32d03d959644c3ca88..fee876de6d06c9a1e63a153d3b1dca4dab79ba3d 100644 (file)
@@ -2344,7 +2344,7 @@ void SetPlayerSize()
        if(self.deadflag != DEAD_NO && self.stat_eaten)\r
        {\r
                // dead prey must shrink toward zero as they digest, until they reach digestion limit\r
-               self.scale *= 1 - bound(cvar("g_balance_vore_digestion_shrinkdeadprey"), self.health / cvar("g_balance_vore_digestion_limit"), 1);\r
+               self.scale *= 1 - bound(0, self.health / cvar("g_balance_vore_digestion_limit"), cvar("g_balance_vore_digestion_shrinkdeadprey"));\r
        }\r
 \r
        if(self.scale < 0.1)\r