Merge pull request #2189 from Cameron653/SOLAR_GRUB_FIX

Removes a second dose of the poison & lowers chance
This commit is contained in:
Spades
2017-09-23 00:39:42 -04:00
committed by GitHub
@@ -58,7 +58,7 @@ List of things solar grubs should be able to do:
var/poison_per_bite = 5 //grubs cause a shock when they bite someone
var/poison_type = "shockchem"
var/poison_chance = 100
var/poison_chance = 50
var/datum/powernet/PN // Our powernet
var/obj/structure/cable/attached // the attached cable
@@ -104,11 +104,10 @@ List of things solar grubs should be able to do:
if(isliving(.))
var/mob/living/L = .
if(L.reagents)
L.reagents.add_reagent(poison_type, poison_per_bite)
if(prob(poison_chance))
L << "<span class='warning'>You feel a shock rushing through your veins.</span>"
L.reagents.add_reagent(poison_type, poison_per_bite)
/mob/living/simple_animal/retaliate/solargrub/death()
src.anchored = 0
..()
..()