mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
SA_bonus_damage to structures, beam dam tweak
This commit is contained in:
@@ -631,7 +631,7 @@
|
||||
|
||||
/obj/item/projectile/proc/get_structure_damage()
|
||||
if(damage_type == BRUTE || damage_type == BURN)
|
||||
return damage
|
||||
return damage + SA_bonus_damage //CHOMP Edit: Added SA_bonus_damage to the returned value so that phaser can do damage against shields.
|
||||
return 0
|
||||
|
||||
//return 1 if the projectile should be allowed to pass through after all, 0 if not.
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
/obj/item/projectile/beam/phaser //The "medium" phaser beam.
|
||||
damage = 5
|
||||
SA_bonus_damage = 45
|
||||
SA_vulnerability = SA_ANIMAL
|
||||
SA_vulnerability = list(SA_ANIMAL, MOB_CLASS_SYNTHETIC)
|
||||
|
||||
/obj/item/projectile/beam/phaser/light
|
||||
SA_bonus_damage = 35
|
||||
damage = 10
|
||||
SA_bonus_damage = 25
|
||||
|
||||
/obj/item/projectile/beam/phaser/heavy
|
||||
SA_bonus_damage = 55
|
||||
|
||||
Reference in New Issue
Block a user