Commit Graph

1655 Commits

Author SHA1 Message Date
Anuken
d934fff02e Merge remote-tracking branch 'origin/master' 2024-05-03 15:57:32 -04:00
Anuken
179adabd56 Fixed #9804 2024-05-03 15:57:22 -04:00
Uenhe
d9ea8beae2 Call onRemoved() in StatusEffect.java when an effect is removed (#9801)
* Call onRemoved() in StatusEffect.java when an effect is removed

* Call onRemoved() in StatusEffect.java when an effect is removed

* cleanup

* cleanup
2024-05-02 09:41:59 -04:00
Anuken
7fcde1e109 Fixed derelict blocks not repairing when resources are not present 2024-04-24 22:40:20 -04:00
Anuken
7d3c94de9b Moved drawMining to UnitType 2024-04-23 09:42:05 -04:00
Anuken
9dd17ca16b Moved drawBuilding to UnitType 2024-04-23 09:32:46 -04:00
Anuken
31f4957657 Removed UnitComp#uiIcon() 2024-04-22 17:31:13 -04:00
Anuken
430114d931 Possible building raycast damage fix 2024-04-21 10:46:50 -04:00
Anuken
bc2f344c52 Fixed #9765 2024-04-21 09:53:54 -04:00
Anuken
3595c350ab Respect particle effect aspect ratio 2024-04-20 10:25:43 -04:00
BalaM314
7b759d41df Disable leg damage on disarmed units (#9755)
* Disable leg damage on disarmed units

* import

* Disable crush damage from disarmed units
2024-04-19 09:40:47 -04:00
Anuken
32957b63b9 Merge branch 'new-pathfinding' of https://github.com/Anuken/Mindustry 2024-04-18 12:48:26 -04:00
Anuken
604e732edb Switched to unit UI icons for minimap/players 2024-04-18 10:05:21 -04:00
Anuken
5e22b093e6 more bugfixes 2024-04-17 23:13:10 -04:00
Anuken
183c1a5763 Flow field raycasting 2024-04-17 22:10:43 -04:00
Anuken
27e0eabec7 Merge branch 'master' of https://github.com/Anuken/Mindustry into new-pathfinding 2024-04-15 13:08:48 -04:00
Anuken
569d0f8fac Fixed #9747 / Fixed #9746 2024-04-14 11:17:57 -04:00
Anuken
1144871b29 Merge remote-tracking branch 'origin/master' 2024-04-10 15:31:15 -04:00
Anuken
e280edac67 Fixed #9731 2024-04-10 15:31:09 -04:00
MEEPofFaith
fd303524e9 #9706 done smarter (#9723)
* Convert from explicit check to interface

* Apply the interface to other turret-like blocks
2024-04-09 11:16:49 -04:00
MEEPofFaith
58d6b3e2d6 Make ChildComp work with turrets (#9706) 2024-04-06 09:52:39 -04:00
Anuken
e177035593 Removed unnecessary hit effect calls 2024-04-02 09:51:17 -04:00
MEEPofFaith
2fb5bc56c6 Better Ability Stats (#9654)
* Fix armor plate multiplier + change Math.round to Strings.autoFixed

* Missing ability name bundles

* Center ability name

* SuppressionFieldAbility stats

* Is two per row is acceptable?

I can revert this commit if not.

* LiquidExplodeAbility stat display

* MoveLightningAbility stat display

* Better SpawnDeathAbility display

* Fix multiplier coloring inconsistencies

Some had [lightgray] before %/x, some had it after

* Consistent content name display

Match with bullet status effects

* Consistent stat formatting

Convert from some being "stat: #" and some being "# stat" to all being "# stat"

* Re-order stats

* Optimize Imports

* Add ability descriptions

* Apparently I forgot LiquidRegenAbility

* Mention healing allies if displayHeal = true
2024-03-30 00:11:39 -04:00
MEEPofFaith
d8c1ea17e1 Make payload blocks run onDestroyed() of the block payload it carries when destroyed. (#8253)
* Payloads go boom.

* When a payload unit dies too

* Keep the functionality, but limit it to a rule
2024-03-29 15:17:19 -04:00
nuri (smol)
ee412c61fc pierceFragCap (#9684)
Co-authored-by: SMOLKEYS <SMOLKEYS@users.noreply.github.com>
2024-03-29 15:01:59 -04:00
Elixias
e595627895 . (#9676) 2024-03-25 19:20:26 -04:00
MEEPofFaith
037f752b73 Improve ArmorPlateAbility draw (#9581)
* Improve ArmorPlateAbility draw

* Revert to tinting

Just make a white shine sprite. Or none-white if you want some interesting visuals with the colors.

* Fix not applying z when drawShine = false
2024-02-23 17:11:00 -05:00
Elixias
15f9854427 Unhardcode frag offsets (#9543) 2024-02-13 08:24:47 -05:00
MEEPofFaith
75ae76135f targetUnderBlocks for units (#8160)
* targetUnderBlocks for units

You know, why don't units use the same targeting code as turrets?

* prioritize non-under blocks
2024-02-03 12:17:07 -05:00
ApsZoldat
999a63c5f4 Minor fixes (#9467)
* Minor fixes

* Change javadoc for statusSpeed()

* 🧠🔨
2024-01-31 16:12:49 -05:00
MEEPofFaith
cc0ac1523b SoundEffect's sound should be delayed by its startDelay (#9502)
* SoundEffect's sound should be delayed by its startDelay

* h
2024-01-30 10:45:38 -05:00
Anuken
72e8829690 Merge remote-tracking branch 'origin/master' 2024-01-28 15:50:10 -05:00
Anuken
eddcd8fc6d Minor building optimization 2024-01-28 15:50:05 -05:00
Sh1p*nfire
6db4ef7f1c PartProgress.time & PartProgress.mod added (#9499)
* PartProgress.time & PartProgress.mod added

* Add loop() to combine mul and mod
2024-01-28 13:04:21 -05:00
MEEPofFaith
1b14a09f1c Shield health should also be factored in pierce factor when maxDamageFraction is 0 (#9486) 2024-01-27 21:24:48 -05:00
Anuken
6f3e75569c Added instantBuild rule for editor 2024-01-23 21:22:02 -05:00
Anuken
797ef6400c Removed redundant RailBulletType hitEffect call 2024-01-12 22:26:08 -05:00
Anuken
b0cc7d2e85 Fixed #9445 2024-01-12 15:13:11 -05:00
Anuken
4aaf3b2287 Use movePref for circling 2024-01-09 12:17:11 -05:00
Anuken
836e0a6f66 Fixed speed multiplier not affecting omni rotation speed 2024-01-07 10:35:31 -05:00
Anuken
fae167a91d Minor optimization 2024-01-06 12:53:48 -05:00
Anuken
eeefdd8054 Crash fix 2023-12-10 21:55:21 -05:00
Anuken
1eb70404d7 GC retention fixes 2023-12-10 20:01:40 -05:00
Anuken
e494806cc8 Better Flare/Avert targeting / Fixed targets resetting on save load 2023-12-10 08:32:49 -05:00
Anuken
c353163c34 Fixed #9342 2023-12-02 20:04:34 -05:00
MEEPofFaith
2d6e1cdf65 PointLaserBulletType support for Weapons (#9331)
* PointLaserBulletType support for Weapons

I hate adding more fields to Weapon, but oh well. It's the price to pay when the behavior of what should be spread across multiple classes is compacted into a single class.

* Fix several problems
2023-12-01 20:50:32 -05:00
Anuken
b189bfdf44 Closes Anuken/Mindustry-Suggestions/issues/4780 (dumping neoplasm from tanks) 2023-11-19 19:09:15 -05:00
Anuken
12bcc050a6 Merge branch 'master' of https://github.com/Anuken/Mindustry into new-pathfinding 2023-11-19 18:32:14 -05:00
Ilya246
533c5a8afb fix shield arc ability (#9290)
* fix shield arc ability

* Update ShieldArcAbility.java
2023-11-18 08:35:10 -05:00
Anuken
5d1ec319bc BulletType delayFrags workaround 2023-11-17 19:12:56 -05:00