Skip to content

Conversation

@Coronia
Copy link
Owner

@Coronia Coronia commented Apr 17, 2025

No description provided.

FS-21 and others added 17 commits February 5, 2025 09:11
- Warheads can now damage the enemy without killing them (minimum health will be 1).
- Verified in conventional weapons and radiation types.

In `rulesmd.ini`:

[SOMEWARHEAD]  ; Warhead
CanKill=false  ; boolean
CanKill is by default true
regarding the WH re-declaration warning and the double to int
- I used a wrong function for cheking the damage value xD
- Small changes so now it doesn't skip code in ReceiveDamage hook.
Co-Authored-By: Netsu_Negi <71598172+NetsuNegi@users.noreply.github.com>
…e on uncrushable unit (Phobos-developers#1529)

- Fix an issue where a unit will leave an impassable invisible barrier
in its original position when it is teleported by ChronoSphere onto an
uncrushable unit and self destruct.

Thx to @NetsuNegi .
added a few more tags to further customize ReflectDamage

- `ReflectDamage.Chance` determines the chance of reflection.
- `ReflectDamage.Override` directly overrides the damage.
- `SuppressReflectDamage.Groups` does the same thing as
`SuppressReflectDamage.Types` but for all AttachEffectTypes in the
listed groups.

In `rulesmd.ini`:
```ini
[SOMEATTACHEFFECT]                             ; AttachEffectType
ReflectDamage.Chance=1.0                       ; floating point value
ReflectDamage.Override=                        ; integer

[SOMEWARHEAD]
SuppressReflectDamage.Groups=                  ; comma-separated list of strings (group IDs)
```
…` units after it's been damaged by a fallen unit lifted by `IsLocomotor=yes` warheads (Phobos-developers#1629)

Fix the bug that a unit can overlap with `Teleport=yes` units after it's
been damaged by a fallen unit lifted by `IsLocomotor=yes` warheads
…cankill

# Conflicts:
#	CREDITS.md
#	YRpp
#	docs/Fixed-or-Improved-Logics.md
#	docs/Whats-New.md
#	src/Ext/Techno/Hooks.ReceiveDamage.cpp
#	src/Ext/WarheadType/Body.cpp
#	src/Ext/WarheadType/Body.h
#	src/Misc/Hooks.BugFixes.cpp
@github-actions github-actions bot added the Minor label Apr 17, 2025
# Conflicts:
#	src/Ext/RadSite/Body.cpp
#	src/Ext/Techno/Hooks.ReceiveDamage.cpp
@github-actions
Copy link

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants