Phobos
Phobos copied to clipboard
Fix Psychedelic warhead giving actual damage against shields & add "Shield is broken" trigger event
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],...
...
Nightly build for this pull request:
- compiled-dll-ddea621c9f77cdaf8cb4508f10965d75bdb1f65b.zip This comment is automatic and is meant to allow guests to get latest nightly builds without registering. It is updated on every successful build.