]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge branch 'master' into Mario/overkill
authorMario <zacjardine@y7mail.com>
Sat, 13 Dec 2014 11:12:43 +0000 (22:12 +1100)
committerMario <zacjardine@y7mail.com>
Sat, 13 Dec 2014 11:12:43 +0000 (22:12 +1100)
Conflicts:
qcsrc/common/notifications.qh
qcsrc/server/mutators/mutator_instagib.qc

1  2 
qcsrc/client/View.qc
qcsrc/client/weapons/projectile.qc
qcsrc/common/notifications.qh
qcsrc/server/defs.qh
qcsrc/server/mutators/mutator_instagib.qc
qcsrc/server/mutators/mutator_nades.qc

Simple merge
Simple merge
Simple merge
Simple merge
index 70c4578bd02baea2c19b7185add6ddaade69913b,70c4578bd02baea2c19b7185add6ddaade69913b..3341d30a7ffeb244d4aec34ba7d3e29bad940faf
@@@ -573,7 -573,7 +573,7 @@@ void nade_damage(entity inflictor, enti
        if(self.nade_type == NADE_TYPE_TRANSLOCATE || self.nade_type == NADE_TYPE_SPAWN)
                return;
  
--      if(DEATH_ISWEAPON(deathtype, WEP_BLASTER))
++      if(DEATH_ISWEAPON(deathtype, WEP_BLASTER) || (DEATH_ISWEAPON(deathtype, WEP_VAPORIZER) && (deathtype & HITTYPE_SECONDARY)))
                return;
  
        if(DEATH_ISWEAPON(deathtype, WEP_VORTEX) || DEATH_ISWEAPON(deathtype, WEP_VAPORIZER))
                damage = self.max_health * 0.55;
        }
  
--      if(DEATH_ISWEAPON(deathtype, WEP_MACHINEGUN))
++      if(DEATH_ISWEAPON(deathtype, WEP_MACHINEGUN) || DEATH_ISWEAPON(deathtype, WEP_HMG))
                damage = self.max_health * 0.1;
  
        if((DEATH_ISWEAPON(deathtype, WEP_SHOCKWAVE) || DEATH_ISWEAPON(deathtype, WEP_SHOTGUN)) && (deathtype & HITTYPE_SECONDARY)) // WEAPONTODO
                damage = self.max_health * 0.1;
                force *= 10;
        }
--      else
--              damage = self.max_health * 1.1;
  
        self.velocity += force;