Skip to content

Posts from Applying (adding) an effect on hit.

No ratings yet — be the first to rate!
5 years ago
Auto-translated
For example, there are Gas Elementals – I want to implement a visual effect of a cloud of death (the one that shoots larvae) when they attack (and when they are attacked and receive damage). There is an area-of-effect attack (I’ve implemented it), but without this visual effect, it doesn’t look very good. Also, there is a Hydra ability – specifically, when the creature attacks, the surrounding units take damage. It doesn’t seem too complicated; do you have any ideas or examples?
User Avatar
5 years ago
Auto-translated
To make your creature receive damage with an effect, use - Characters\Creatures\Necropolis\AlternativeUpgrade\DeseaseZombie-arena-hit.xdb

To make it deal damage with an effect, use - Characters\Creatures\Necropolis\AlternativeUpgrade\DeseaseZombie-arena-attack00.xdb

To speed up the visual effects debugging process, I recommend adding the "stir00" action to your creature. If it already exists, temporarily assign the attack or damage action to it, depending on the action being debugged. This can be triggered simply by hovering the cursor over your creature!

Statistics

Welcome our newest member: recijeb