mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Removed the artifact stun effect
This commit is contained in:
@@ -179,7 +179,7 @@
|
|||||||
switch(cur_artifact.my_effect.effecttype)
|
switch(cur_artifact.my_effect.effecttype)
|
||||||
if("healing") src.aeffect1 = "Healing Device"
|
if("healing") src.aeffect1 = "Healing Device"
|
||||||
if("injure") src.aeffect1 = "Anti-biological Weapon"
|
if("injure") src.aeffect1 = "Anti-biological Weapon"
|
||||||
if("stun") src.aeffect1 = "Non-lethal Stunning Trap"
|
// if("stun") src.aeffect1 = "Non-lethal Stunning Trap"
|
||||||
if("roboheal") src.aeffect1 = "Mechanoid Repair Module"
|
if("roboheal") src.aeffect1 = "Mechanoid Repair Module"
|
||||||
if("robohurt") src.aeffect1 = "Mechanoid Deconstruction Device"
|
if("robohurt") src.aeffect1 = "Mechanoid Deconstruction Device"
|
||||||
if("cellcharge") src.aeffect1 = "Power Generator"
|
if("cellcharge") src.aeffect1 = "Power Generator"
|
||||||
|
|||||||
@@ -97,7 +97,7 @@
|
|||||||
user.weakened += 6
|
user.weakened += 6
|
||||||
return 1
|
return 1
|
||||||
else user << "Nothing happens."
|
else user << "Nothing happens."
|
||||||
if("stun")
|
/*if("stun")
|
||||||
if (istype(user, /mob/living/carbon/))
|
if (istype(user, /mob/living/carbon/))
|
||||||
user << "\red A powerful force overwhelms your consciousness."
|
user << "\red A powerful force overwhelms your consciousness."
|
||||||
user.paralysis += 30
|
user.paralysis += 30
|
||||||
@@ -105,7 +105,7 @@
|
|||||||
user.weakened += 45
|
user.weakened += 45
|
||||||
user.stuttering += 45
|
user.stuttering += 45
|
||||||
return 1
|
return 1
|
||||||
else user << "Nothing happens."
|
else user << "Nothing happens."*/
|
||||||
if("roboheal")
|
if("roboheal")
|
||||||
if (istype(user, /mob/living/silicon/robot))
|
if (istype(user, /mob/living/silicon/robot))
|
||||||
user << "\blue Your systems report damaged components mending by themselves!"
|
user << "\blue Your systems report damaged components mending by themselves!"
|
||||||
@@ -224,7 +224,7 @@
|
|||||||
M.adjustBrainLoss(1)
|
M.adjustBrainLoss(1)
|
||||||
M.updatehealth()
|
M.updatehealth()
|
||||||
return 1
|
return 1
|
||||||
if("stun")
|
/*if("stun")
|
||||||
for (var/mob/living/carbon/M in range(src.aurarange,originator))
|
for (var/mob/living/carbon/M in range(src.aurarange,originator))
|
||||||
if(istype(M:wear_suit,/obj/item/clothing/suit/bio_suit/anomaly) && istype(M:head,/obj/item/clothing/head/bio_hood/anomaly))
|
if(istype(M:wear_suit,/obj/item/clothing/suit/bio_suit/anomaly) && istype(M:head,/obj/item/clothing/head/bio_hood/anomaly))
|
||||||
continue
|
continue
|
||||||
@@ -234,7 +234,7 @@
|
|||||||
M.stunned += 2
|
M.stunned += 2
|
||||||
M.weakened += 2
|
M.weakened += 2
|
||||||
M.stuttering += 2
|
M.stuttering += 2
|
||||||
return 1
|
return 1*/
|
||||||
if("roboheal")
|
if("roboheal")
|
||||||
for (var/mob/living/silicon/robot/M in range(src.aurarange,originator))
|
for (var/mob/living/silicon/robot/M in range(src.aurarange,originator))
|
||||||
if(prob(10)) M << "\blue SYSTEM ALERT: Beneficial energy field detected!"
|
if(prob(10)) M << "\blue SYSTEM ALERT: Beneficial energy field detected!"
|
||||||
@@ -314,7 +314,7 @@
|
|||||||
M.weakened += 3
|
M.weakened += 3
|
||||||
M.updatehealth()
|
M.updatehealth()
|
||||||
return 1
|
return 1
|
||||||
if("stun")
|
/*if("stun")
|
||||||
for (var/mob/living/carbon/M in range(src.aurarange,originator))
|
for (var/mob/living/carbon/M in range(src.aurarange,originator))
|
||||||
if(istype(M:wear_suit,/obj/item/clothing/suit/bio_suit/anomaly) && istype(M:head,/obj/item/clothing/head/bio_hood/anomaly))
|
if(istype(M:wear_suit,/obj/item/clothing/suit/bio_suit/anomaly) && istype(M:head,/obj/item/clothing/head/bio_hood/anomaly))
|
||||||
continue
|
continue
|
||||||
@@ -323,7 +323,7 @@
|
|||||||
M.stunned += 4
|
M.stunned += 4
|
||||||
M.weakened += 4
|
M.weakened += 4
|
||||||
M.stuttering += 4
|
M.stuttering += 4
|
||||||
return 1
|
return 1*/
|
||||||
if("roboheal")
|
if("roboheal")
|
||||||
for (var/mob/living/silicon/robot/M in range(src.aurarange,originator))
|
for (var/mob/living/silicon/robot/M in range(src.aurarange,originator))
|
||||||
M << "\blue SYSTEM ALERT: Structural damage has been repaired by energy pulse!"
|
M << "\blue SYSTEM ALERT: Structural damage has been repaired by energy pulse!"
|
||||||
@@ -413,7 +413,7 @@
|
|||||||
M.adjustBrainLoss(3)
|
M.adjustBrainLoss(3)
|
||||||
M.updatehealth()
|
M.updatehealth()
|
||||||
return 1
|
return 1
|
||||||
if("stun")
|
/*if("stun")
|
||||||
for (var/mob/living/carbon/M in world)
|
for (var/mob/living/carbon/M in world)
|
||||||
if(istype(M:wear_suit,/obj/item/clothing/suit/bio_suit/anomaly) && istype(M:head,/obj/item/clothing/head/bio_hood/anomaly))
|
if(istype(M:wear_suit,/obj/item/clothing/suit/bio_suit/anomaly) && istype(M:head,/obj/item/clothing/head/bio_hood/anomaly))
|
||||||
continue
|
continue
|
||||||
@@ -422,7 +422,7 @@
|
|||||||
M.stunned += 8
|
M.stunned += 8
|
||||||
M.weakened += 8
|
M.weakened += 8
|
||||||
M.stuttering += 8
|
M.stuttering += 8
|
||||||
return 1
|
return 1*/
|
||||||
if("roboheal")
|
if("roboheal")
|
||||||
for (var/mob/living/silicon/robot/M in world)
|
for (var/mob/living/silicon/robot/M in world)
|
||||||
M << "\blue SYSTEM ALERT: Structural damage has been repaired by energy pulse!"
|
M << "\blue SYSTEM ALERT: Structural damage has been repaired by energy pulse!"
|
||||||
|
|||||||
@@ -48,17 +48,17 @@
|
|||||||
// Precursor Artifacts do everything
|
// Precursor Artifacts do everything
|
||||||
switch(src.origin)
|
switch(src.origin)
|
||||||
if("ancient") my_effect.effecttype = pick("roboheal","robohurt","cellcharge","celldrain")
|
if("ancient") my_effect.effecttype = pick("roboheal","robohurt","cellcharge","celldrain")
|
||||||
if("martian") my_effect.effecttype = pick("healing","injure","stun","planthelper")
|
if("martian") my_effect.effecttype = pick("healing","injure"/*,"stun"*/,"planthelper")
|
||||||
if("wizard") my_effect.effecttype = pick("stun","forcefield","teleport")
|
if("wizard") my_effect.effecttype = pick(/*"stun",*/"forcefield","teleport")
|
||||||
if("eldritch") my_effect.effecttype = pick("injure","stun","robohurt","celldrain")
|
if("eldritch") my_effect.effecttype = pick("injure",/*"stun",*/"robohurt","celldrain")
|
||||||
if("precursor") my_effect.effecttype = pick("healing","injure","stun","roboheal","robohurt","cellcharge","celldrain","planthelper","forcefield","teleport")
|
if("precursor") my_effect.effecttype = pick("healing","injure",/*"stun",*/"roboheal","robohurt","cellcharge","celldrain","planthelper","forcefield","teleport")
|
||||||
|
|
||||||
// Select range based on the power
|
// Select range based on the power
|
||||||
var/canworldpulse = 1
|
var/canworldpulse = 1
|
||||||
switch(my_effect.effecttype)
|
switch(my_effect.effecttype)
|
||||||
if("healing") my_effect.effectmode = pick("aura","pulse","contact")
|
if("healing") my_effect.effectmode = pick("aura","pulse","contact")
|
||||||
if("injure") my_effect.effectmode = pick("aura","pulse","contact")
|
if("injure") my_effect.effectmode = pick("aura","pulse","contact")
|
||||||
if("stun") my_effect.effectmode = pick("aura","pulse","contact")
|
// if("stun") my_effect.effectmode = pick("aura","pulse","contact")
|
||||||
if("roboheal") my_effect.effectmode = pick("aura","pulse","contact")
|
if("roboheal") my_effect.effectmode = pick("aura","pulse","contact")
|
||||||
if("robohurt") my_effect.effectmode = pick("aura","pulse","contact")
|
if("robohurt") my_effect.effectmode = pick("aura","pulse","contact")
|
||||||
if("cellcharge") my_effect.effectmode = pick("aura","pulse")
|
if("cellcharge") my_effect.effectmode = pick("aura","pulse")
|
||||||
@@ -230,7 +230,7 @@
|
|||||||
switch(A.effecttype)
|
switch(A.effecttype)
|
||||||
if("healing") return 1
|
if("healing") return 1
|
||||||
if("injure") return 0
|
if("injure") return 0
|
||||||
if("stun") return 0
|
// if("stun") return 0
|
||||||
if("roboheal") return 1
|
if("roboheal") return 1
|
||||||
if("robohurt") return 0
|
if("robohurt") return 0
|
||||||
if("cellcharge") return 1
|
if("cellcharge") return 1
|
||||||
|
|||||||
Reference in New Issue
Block a user