Projectile Reflection Refactor

This commit is contained in:
Fox-McCloud
2017-07-06 16:29:40 -04:00
parent 23cb2c6ce7
commit e29d346198
4 changed files with 4 additions and 1 deletions

View File

@@ -37,6 +37,7 @@
var/flag = "bullet" //Defines what armor to use when it hits things. Must be set to bullet, laser, energy,or bomb //Cael - bio and rad are also valid
var/projectile_type = "/obj/item/projectile"
var/range = 50 //This will de-increment every step. When 0, it will delete the projectile.
var/is_reflectable = FALSE // Can it be reflected or not?
//Effects
var/stun = 0
var/weaken = 0

View File

@@ -8,6 +8,7 @@
hitsound_wall = 'sound/weapons/effects/searwall.ogg'
flag = "laser"
eyeblur = 2
is_reflectable = TRUE
/obj/item/projectile/beam/laser

View File

@@ -4,6 +4,7 @@
damage = 0
damage_type = BURN
flag = "energy"
is_reflectable = TRUE
/obj/item/projectile/energy/electrode
name = "electrode"