mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #6505 from Heroman3003/tension
Fixes runtime in tension.dm
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
will_point_blank = ai_holder.pointblank
|
||||
|
||||
var/potential_damage = 0
|
||||
if(!projectiletype || ( get_dist(src, threatened >= 1) && !will_point_blank ) ) // Melee damage.
|
||||
if(!projectiletype || ( ( get_dist(src, threatened) >= 1) && !will_point_blank ) ) // Melee damage.
|
||||
potential_damage = (melee_damage_lower + melee_damage_upper) / 2
|
||||
|
||||
// Treat potential_damage as estimated DPS. If the enemy attacks twice as fast as usual, it will double the number.
|
||||
|
||||
Reference in New Issue
Block a user