Commit Graph

96 Commits

Author SHA1 Message Date
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
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
Ilya246
533c5a8afb fix shield arc ability (#9290)
* fix shield arc ability

* Update ShieldArcAbility.java
2023-11-18 08:35:10 -05:00
guiY
81688f3954 Maybe the ShieldArcAbility needs a minor fix? (#9105)
* Update ShieldArcAbility.java

* Update Fx.java

* Update ShieldArcAbility.java

* Update Fx.java

* Update ShieldArcAbility.java

* Update ShieldArcAbility.java

* Update Fx.java

* Update Fx.java

* Update Fx.java...again...

* Switch method
2023-09-28 13:47:47 -04:00
Zerenta
8a9b123b81 Navanax buff (#8925)
* Update UnitTypes.java

its late at night imma just commit changes and pray i didnt fuck up anywhere

* Allow changing suppress effect color
* Fx.regenSuppressParticle and Fx.regenSuppressSeek now color-aware
- regenSuppressParticle's color handling changed, allows changing the from color intead of the to color
* Damage.applySuppression accepts color as an argument, old method signature still exists
* SuppressionFieldAbility has a new field allowing to specify the color for effect particles
* BulletType has a new field allowing to specify the color for suppress effect particles
* BuildingComp has a new field storing the color to be used for suppression effect

* name

---------

Co-authored-by: BalaM314 <71201189+BalaM314@users.noreply.github.com>
2023-09-12 16:31:38 -04:00
nullevoy
cc66ccb49f most ability displays (#8981)
* works

* why not

* idk if that changes it but

* json

* destringening

* automatic imports and leftover marker

* uirfirf
2023-09-02 09:19:32 -04:00
Zerenta
87e79913c5 Aegires Nerf (#8899)
* Update EnergyFieldAbility.java

Nerfs aegires. hard. 3x less healing (3% to 1%)

* Update UnitTypes.java

segments better.
reload 6 frames to 4 frames
damage 25 to 30

* Update EnergyFieldAbility.java

Ty balam

* Update UnitTypes.java

Ty balam! :D

* Update UnitTypes.java

Thanks balam :D

* Add EnergyFieldAbility.sameTypeHealMult

* Apply to aegires

Repair amount to other units is now 1.5% (50% of pre nerf)
Repair amount to aegires is now 0.75% (25% of pre nerf)

---------

Co-authored-by: BalaM314 <71201189+BalaM314@users.noreply.github.com>
2023-08-09 12:36:43 -04:00
MEEPofFaith
a3f8ca9ca5 Shield flash on top (#8373)
Co-authored-by: Anuken <arnukren@gmail.com>
2023-03-08 09:17:39 -05:00
Garen7
c20d7f2b4f Fixes the damage modifier not working sometimes (#8124)
Co-authored-by: Garen7 <Garen7@users.noreply.github.com>
2023-01-07 11:30:49 -05:00
Anuken
0582ba1c47 Oct now has an octagon shield 2023-01-07 11:23:55 -05:00
Anuken
ebb37f4abe Fixed ability descriptions 2022-11-02 10:01:43 -04:00
Anuken
a33c482ead Fixed #7755 2022-10-23 11:25:00 -04:00
MEEPofFaith
860fc888c4 Draw armor region under armor shader (#7751) 2022-10-22 17:45:10 -04:00
MEEPofFaith
dc060d2ce9 Deja Vu (#7662)
I feel like this has been a problem before.
Deeper in the code.
2022-10-05 05:47:28 -04:00
Anuken
2d47ff893b Misc fixes 2022-09-01 08:57:43 -04:00
MEEPofFaith
6ca54d4f6a Fix units that can't be hit being hit by some things. (#7391)
* Hittable check in checkTarget

* Remove hittable() and checkTarget() overlap

* Make PointBulletType abide collision types

There should probably be a thing for jsonable `buildingFilter`s, in the case that you want something that doesn't target blocks.

* PointBulletTypes should not be reflectable

* oop

* Use targettable instead of hittable

* targetable check for Damage#linecast

* targetable check for defenderAI

* I shot, and then I hit something, but it was some invisible thing in the way, so I guess I missed
2022-08-19 22:05:11 -04:00
rly4498
f16894592f onShoot on StatusFieldAbility (#7221)
* onShoot on StatusFieldAbility

allows for more JSON gaming

* hmm
2022-07-22 13:43:37 -04:00
Anuken
a734f8423c Fixed #7167 2022-07-12 13:50:02 -04:00
Anuken
72b36d97bd RTS max squad size 2022-07-11 18:18:22 -04:00
Anuken
36aa56f251 New WIP missile turret 2022-06-29 17:37:32 -04:00
Anuken
4ba5be8d31 Misc improvements / Latum death unit spawning 2022-06-23 13:16:25 -04:00
Anuken
900aa12a3c Misc minor fixes 2022-06-20 20:22:11 -04:00
MEEPofFaith
68cc95c26d Wrap Immunities in unit stats (#6946)
* Don't display move effect ability in stats

* Wrap the immunities list
2022-06-08 08:42:17 -04:00
Anuken
2236771b22 Misc cleanup + some JSON stuff 2022-05-22 22:16:03 -04:00
Anuken
1d249f233f UnitType docs 2022-05-01 23:50:49 -04:00
Anuken
865a5d56ed Two units complete 2022-05-01 14:49:30 -04:00
Anuken
ea9e5ae632 Better heal FX / Lower wall priority 2022-04-11 14:01:00 -04:00
Anuken
fd764bd517 Unit requirements for payloads 2022-02-17 10:41:33 -05:00
Anuken
c8da241825 Disrupt weapons complete 2022-02-04 17:34:13 -05:00
Anuken
c6cfaa5ce5 More unit progress 2022-01-31 14:05:50 -05:00
Anuken
89e0e3b658 Changed erekir pump requirements 2022-01-27 00:30:20 -05:00
Anuken
8c144bfca0 Shield arc rename 2022-01-17 13:47:23 -05:00
Anuken
2d19c7ae97 Bulwark shield mechanics mostly done 2022-01-17 13:39:15 -05:00
Anuken
396c087072 Experimenting with abilities 2022-01-16 22:53:58 -05:00
Anuken
feb1135bcc Some visual tweaks 2022-01-09 19:08:35 -05:00
Anuken
ad42861daf Better block health scaling system 2021-12-28 11:29:31 -05:00
Anuken
dd5ce7e365 Regen suppression unit + system 2021-12-27 14:46:51 -05:00
Anuken
f5e9df1265 Merge branch 'master' of https://github.com/Anuken/Mindustry into 7.0-features
 Conflicts:
	core/src/mindustry/ai/BlockIndexer.java
	gradle.properties
2021-12-07 14:09:03 -05:00
Anuken
3f503a7f4d Bugfixes 2021-12-01 13:50:08 -05:00
Matthew (or Maya) Peng
8cb830ba41 Make MoveLightningAbility alternating a boolean (#6390)
* Revert "BlueWolf does not want MoveLightningAbility to mirror (#6376)"

This reverts commit e1685ef46c.

* boolean `alternate`

* Better Javadoc description
2021-11-29 23:05:35 -05:00
Anuken
5446b7c6f0 Merge branch 'master' of https://github.com/Anuken/Mindustry into 7.0-features
 Conflicts:
	gradle.properties
2021-11-27 14:06:57 -05:00
Matthew (or Maya) Peng
e1685ef46c BlueWolf does not want MoveLightningAbility to mirror (#6376) 2021-11-26 11:05:50 -05:00
Anuken
65f36faf71 Merge branch 'master' of https://github.com/Anuken/Mindustry into 7.0-features
 Conflicts:
	core/assets/bundles/bundle_ko.properties
	core/src/mindustry/type/UnitType.java
2021-11-22 10:12:48 -05:00
MrDuck557
f1e9d05163 blinkSize (#6359)
Co-authored-by: Lele567 <48808663+Lele567@users.noreply.github.com>
2021-11-22 10:08:57 -05:00
Anuken
6b59c1cd83 More branch merging 2021-10-14 20:58:03 -04:00
Anuken
19b881561f slurp 2021-10-05 21:46:41 -04:00
Anuken
5f3cef251b Merge branch 'master' of https://github.com/Anuken/Mindustry into 7.0-features
 Conflicts:
	core/assets/logicids.dat
	core/src/mindustry/content/Blocks.java
	gradle.properties
2021-09-28 18:45:09 -04:00
Anuken
8a3d46b4a7 a 2021-09-27 08:58:22 -04:00
Anuken
d13c7a959f Added LiquidExplodeAbility 2021-09-25 09:31:03 -04:00
Anuken
096826a36f Ability death listener 2021-09-24 21:27:21 -04:00