mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Okay, so this is a pretty big change.
Guns:
The projectile code has been mostly reworked to provide better support for effects, dynamic damage, etc. This also makes adding new projectiles easier for other coders. This is a pretty big change! If you see any bugs, get on IRC and bug me about it before the change goes live on the server!
Miscellaneous:
I fixed some bugs with Metroids hopefully. Turrets now don't identify people laying down as a threat.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1884 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -171,25 +171,8 @@ field_generator power level display
|
||||
..()
|
||||
|
||||
|
||||
bullet_act(flag)
|
||||
if (flag == PROJECTILE_BULLET)
|
||||
src.power -= 50
|
||||
else if (flag == PROJECTILE_BULLETBURST)
|
||||
src.power -= 20
|
||||
else if (flag == PROJECTILE_WEAKBULLET)
|
||||
src.power -= 25
|
||||
else if (flag == PROJECTILE_WEAKBULLETBURST)
|
||||
src.power -= 13
|
||||
else if (flag == PROJECTILE_WEAKERBULLETBURST)
|
||||
src.power -= 7
|
||||
else if (flag == PROJECTILE_LASER)
|
||||
src.power += 20
|
||||
else if (flag == PROJECTILE_SHOCK)
|
||||
src.power += 25
|
||||
else if (flag == PROJECTILE_TASER)
|
||||
src.power += 5
|
||||
else
|
||||
src.power -= 10
|
||||
bullet_act(var/obj/item/projectile/Proj)
|
||||
power -= Proj.damage
|
||||
update_icon()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user