Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

Fix Psychedelic warhead giving actual damage against shields & add "Shield is broken" trigger event

Open chaserli opened this issue 3 years ago • 1 comments

Sorry I accidentally deleted #703 #628

Default setting of Psychedelic damage to shields

In previous builds, Psychedelic=yes warhead can damage shields without giving the actual berserk effect. From now on Psychedelic=yes warheads directly penetrate shields by default. An additional parameter can be given to shields for the immunity against berserk effect:

In rulesmd.ini:

[SOMESHIELDTYPE]
PsychedelicProof=no

Note that this doesn't prevent the unit from targeting at the shielded object even if the shield has PsychedelicProof=yes. Versus.shieldArmor=0% is still required in this case.

Trigger Event 600: Shield of the attached object is broken

The trigger event is raised when the shield of the attached object is broken. In mycampaign.map:

[Events]
...
ID=EventCount,[Event1],...,600,2,0,0,[EventX],...
...

chaserli avatar Aug 03 '22 14:08 chaserli

Nightly build for this pull request:

github-actions[bot] avatar Aug 03 '22 14:08 github-actions[bot]