v0.8.0: various tweaks and adjustments, mainly for demon halls:
- added missing properties to rippers and spawners - fixed rippers having long visibility range, increased their damage by 11% - reduced the bleed damage from new ripper leap - rippers now interrupt the hero when leaping - adjusted candle positions in Yog's boss level - added more text (including warnings) for demon spawners - adjusted the positioning of Yog's sprite - fixed cases where angled visuals would be incorrectly not visible - removed redundant declarations from Ring of Elements, it now copies from AntiMagic
This commit is contained in:
@@ -272,6 +272,9 @@ public class Visual extends Gizmo {
|
||||
|
||||
if (c == null || !visible) return false;
|
||||
|
||||
//FIXME, the below calculations ignore angle, so assume visible if angle != 0
|
||||
if (angle != 0) return true;
|
||||
|
||||
//x coord
|
||||
if (x > c.scroll.x + c.width)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user