Additional damage to poisoned targets
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
-
- Posts: 23
- Joined: July 26th, 2019, 4:10 pm
Additional damage to poisoned targets
How to make an attack deal additional damage to poisoned targets?
Re: Additional damage to poisoned targets
[damage] with filter that checks enemy has status with poison.
-
- Posts: 23
- Joined: July 26th, 2019, 4:10 pm
Re: Additional damage to poisoned targets
I did something like this:
It's not working.
I also like to make additional damage to be of different type than base damage. I know there was some add-on that did that but I forgot it's name.
Code: Select all
[filter]
status=poisoned
[damage]
add=2
[/damage]
[/filter]
I also like to make additional damage to be of different type than base damage. I know there was some add-on that did that but I forgot it's name.
Re: Additional damage to poisoned targets
Then you need to use event.
- MoonyDragon
- Posts: 149
- Joined: November 29th, 2017, 5:46 pm
Re: Additional damage to poisoned targets
I think Ravana meant something like the code below. It is a weapon special that goes inside the [specials] tag of your unit's attack.
Code: Select all
[damage]
id=mercy
name= _"mercy"
description= _"This attack deals double damage to poisoned units."
[filter_opponent]
status=poisoned
[/filter_opponent]
multiply=2
[/damage]
Default L0 Era - Level 1 leaders with level 0 recruits!