- Added Karate Chris's teamdamage in MAPINFO submission.
- Added Blzut3's second SBARINFO update. SVN r621 (trunk)
This commit is contained in:
parent
aacb694200
commit
4131ec141d
7 changed files with 47 additions and 14 deletions
|
|
@ -438,7 +438,7 @@ int APoisonCloud::DoSpecialDamage (AActor *victim, int damage)
|
|||
}
|
||||
else
|
||||
{
|
||||
dopoison = victim->player->poisoncount < (int)(4.f * teamdamage);
|
||||
dopoison = victim->player->poisoncount < (int)(4.f * level.teamdamage);
|
||||
}
|
||||
|
||||
if (dopoison)
|
||||
|
|
@ -446,7 +446,7 @@ int APoisonCloud::DoSpecialDamage (AActor *victim, int damage)
|
|||
int damage = 15 + (pr_poisoncloudd()&15);
|
||||
if (mate)
|
||||
{
|
||||
damage = (int)((float)damage * teamdamage);
|
||||
damage = (int)((float)damage * level.teamdamage);
|
||||
}
|
||||
if (damage > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue