[event] My first event tagset... what am i doing wrong?
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.
[event] My first event tagset... what am i doing wrong?
I made the following event tagset:
, in order to make it so that at the start of a sides turn all units with the poisoned status get 72 dmg.... What am i doing and/or seeing false here?
Code: Select all
[event]
name=new turn
first_time_only=no
[modification]
[effect]
[filter]
[status]
poisoned=yes
[/status]
[/filter]
apply_to=hitpoints
value=-72
[/effect]
[/modification]
[/event]
, in order to make it so that at the start of a sides turn all units with the poisoned status get 72 dmg.... What am i doing and/or seeing false here?
Last edited by Pentarctagon on June 4th, 2021, 8:06 pm, edited 1 time in total.
Reason: add [code]
Reason: add [code]
- Pentarctagon
- Project Manager
- Posts: 5561
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: [event] My first event tagset... what am i doing wrong?
[harm_unit] would be appropriate I'd say.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
- Celtic_Minstrel
- Developer
- Posts: 2194
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: [event] My first event tagset... what am i doing wrong?
[modification]
doesn't have any meaning inside [event]
. You can substitute [modify_unit]
and it will be valid (although it still may not work unless you also add a filter), but as Pentarctagon says, you probably actually want [harm_unit]
instead.