mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-15 12:42:50 +00:00
* Repaths obj/effect/effect, datum/effect/effect * linter fixes * No new Co-authored-by: Atermonera <forslandm@gmail.com>
21 lines
525 B
Plaintext
21 lines
525 B
Plaintext
|
|
/obj/item/projectile/energy/fireball
|
|
name = "fireball"
|
|
icon_state = "fireball2"
|
|
damage = 15
|
|
damage_type = BURN
|
|
check_armour = "bomb"
|
|
armor_penetration = 25 // It's a great ball of fire.
|
|
|
|
combustion = TRUE
|
|
|
|
/obj/item/projectile/energy/fireball/on_hit(var/atom/target, var/blocked = 0)
|
|
new /obj/effect/vfx/explosion(get_turf(target))
|
|
explosion(target, -1, 0, 2)
|
|
..()
|
|
|
|
/obj/item/projectile/energy/fireball/on_impact(var/atom/target)
|
|
new /obj/effect/vfx/explosion(get_turf(target))
|
|
explosion(target, -1, 0, 2)
|
|
..()
|