Magical gene / no coat effect
Cleansing light
An aura that burns the undead. Zombies, skeletons, drowned and anything else that counts take steady damage while they stand near the horse, out to a radius written on the allele copy.
The gene, its inheritance and its founder table exist and are covered by the test suite; the translator that turns it into behaviour was written against the 26.1.2 sources and is flagged unverified in its own comments. Nothing on this page has been watched happening to a horse. What to look at, and what is most likely to be wrong, is on To be verified.
What it does
| Combination | Outcome |
|---|---|
Cln/Cln | undead within the radius take damage on a slow beat |
| anything else | nothing |
It costs you the drops
This is the important part and it is deliberate. A mob killed by the horse’s aura was not killed by you, so you get no experience and none of the drops that only fall to a player kill. Ride into a group of zombies with this gene and you will win, and you will come away with nothing.
It is a defensive gene, not a farming one. If you want the loot, hit them yourself first.
Health
None to the horse.
- Gene key
horsegenetics.cleansing_light- Alleles
Clncleansing,n- Inheritance
- homozygous recessive
- Reaches the game as
- a
healingeffect with a negative amount and anundeadgroup - Epigenetic
- radius
- Coat effect
- none, ever
Kills are credited to the horse, so no player experience and no player-only drops. This was raised in design and accepted deliberately — the gene is protection, and crediting the rider was rejected as making it straightforwardly better than fighting. Recorded here so a later session does not “fix” it.
Below about a second, the target’s hurt-immunity frames swallow most of the damage — so a faster beat costs the full entity scan and delivers almost nothing extra. The cheap setting and the correct setting are the same setting here.
Five genes share this filter. A hardcoded list makes every modded creature invisible to all five at once, and the failure is silent — the aura simply never fires on anything from another mod. Build it on tags in the change that introduces it.
A healing aura with the sign flipped
Rather than a new verb, this is healing with a negative amount
and a group the verb did not previously offer. That keeps one radius-effect
implementation rather than two, and it means the cap discipline every radius
effect is required to state is inherited rather than re-argued.
A gene that wins fights and loses value
The loot cost is what stops this being simply the best combat gene. It draws a real line between the horse that keeps you alive and the horse that makes you rich, and forces a choice about which one you are riding today — which is more interesting than an aura that does both.
common/genetics/genes/CleansingLightGene.java