Commit Graph

116 Commits

Author SHA1 Message Date
Anuken
f6c240262d Fixed incorrect RailBullet length with pierceCap 2024-07-16 17:53:27 -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
e177035593 Removed unnecessary hit effect calls 2024-04-02 09:51:17 -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
Anuken
680fc34ac3 Reverted building explosion nerf completely 2023-08-25 22:48:16 -04:00
Anuken
c52b966dea Different block explosion damage formula 2023-08-24 15:26:02 -04:00
MEEPofFaith
2ff7ccfc19 Laser pierce fixes. (#8526)
* Flip pierce check order

Allow pierce cap + laser to function together

* Apply to continuous bullets

+ Make visually accurately show length.

* laser parameter for findPierceLength

consistency with collideLine
2023-06-15 19:33:01 -04:00
Anuken
564e81e734 Team#isEnemy is pointless 2023-05-21 03:59:08 -04:00
MEEPofFaith
b030a51485 If it don't collide, don't collide (#8388) 2023-03-25 13:49:22 -04:00
南门阳德
5c05c9f1d1 Fix memory leak in pools (#8415) 2023-03-25 13:46:11 -04:00
MEEPofFaith
5e324e71d4 Hitscan fix 2 (#8175)
* Revert "Reverting #8037"

Re-implement #8037

* Properly count collisions

Fix #8170
2023-01-14 10:05:30 -05:00
Anuken
b2b4602c91 Reverting #8037 2023-01-13 09:42:28 -05:00
Anuken
edcf3c4223 Fixed #8170 2023-01-13 09:31:10 -05:00
Anuken
3287479ee3 Damage object pooling 2023-01-12 08:50:19 -05:00
MEEPofFaith
a3270debac Fix collideLine (#8037) 2023-01-07 14:46:19 -05:00
Anuken
4201106843 New WIP achievement definitions 2022-10-09 17:47:12 -04:00
Anuken
48a5ae443f Fixed #7633 2022-09-27 11:57:11 -04:00
Anuken
84f2b68387 Crash fix 2022-09-26 19:27:39 -04:00
Anuken
b993f150fb Fixed controller hit not registering splash damage 2022-09-26 19:17:18 -04:00
MEEPofFaith
11e3f85242 Fix more things that hit non-hittable units (#7408)
* hittable check for EMP

* hittable check for Damage#status

* why push if don't get hit
2022-08-21 17:09:47 -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
Anuken
be61b45d08 WIP point laser turret 2022-06-23 20:57:22 -04:00
Anuken
bf91676fea Laser damage intersect fix 2022-05-16 01:53:44 -04:00
Anuken
210481703f Lots of balancing/tweaks 2022-05-03 14:42:11 -04:00
Anuken
9251ba6008 Better continuous laser bullet visuals 2022-04-24 22:49:36 -04:00
Anuken
5e65e250c3 Fixed laser underBullet 2022-04-11 16:32:37 -04:00
Anuken
54d90633e7 Armored duct + Balancing 2022-04-11 09:42:16 -04:00
Anuken
2145e31bac Too many things to list 2022-04-10 21:02:51 -04:00
Anuken
89af2c8033 Bullet pierceCap fix + Malis + Other fixes 2022-04-10 17:12:49 -04:00
Anuken
3847434c42 Non-stupid shockwave shader uniform setting 2022-03-10 19:14:01 -05:00
Anuken
7245364a55 RailBulletType improvements 2022-02-25 13:24:18 -05:00
Anuken
895fa784cf Better fog / Research cost tweaks 2022-02-19 16:24:22 -05:00
Anuken
027d037233 Basic AI defending 2022-02-18 11:27:20 -05:00
Anuken
fce3cf818e Untested support for JSON planets 2022-02-06 12:47:23 -05:00
Anuken
5fd139261f Supression system improvements 2022-02-05 21:59:38 -05:00
Anuken
c8da241825 Disrupt weapons complete 2022-02-04 17:34:13 -05:00
Anuken
60621520ee WIP Disrupt missiles 2022-02-04 15:37:51 -05:00
Anuken
5ac3e08b1d Tungsten walls 2021-12-13 14:42:16 -05:00
Anuken
7e9dd2d6f0 Fixed beam damage hit position 2021-12-10 12:39:37 -05:00
Anuken
b7ac1e1d74 Stuff. 2021-11-24 13:33:01 -05:00
Anuken
99d30b6351 Fixed #6287 2021-11-02 09:04:37 -04:00
Matthew Peng
bc3da30d45 Allow for dynamic laser absorption and insulation (#5047)
* Allow for dynamic laser absorption

* Might as well do insulated as well

* null checks are important
2021-10-05 12:36:29 -04:00
Anuken
48d568978b Merge remote-tracking branch 'origin/master'
# Conflicts:
#	core/src/mindustry/entities/Damage.java
2021-08-28 14:17:29 -04:00
Anuken
9a7324ce54 Fixed #5887 2021-08-28 14:17:01 -04:00
Matthew Peng
f8c7ff0159 Damage.damage doesn't properly convert cores (#5882)
* `Damage.damage` doesn't properly convert cores

* Well that was a complete failure
2021-08-28 08:46:08 -04:00
Anuken
8e90527609 Chat prefix empty message fix / Call.sound volume limit increase 2021-08-24 10:19:46 -04:00
Anuken
8949fd279e Build error fix / Anuken/Mindustry-Suggestions/issues/2897 2021-08-24 09:28:51 -04:00
MEEP of Faith
a74bc0c077 block destroyEffect (#5427) 2021-06-16 15:55:08 -04:00
MEEP of Faith
a09771b569 Custom Unit Death Explosion Effects (#5389) 2021-06-06 19:38:12 -04:00