[heal_unit] and status=unhealable
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.
- Celtic_Minstrel
- Developer
- Posts: 2371
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: [heal_unit] and status=unhealable
white_haired_uncle wrote: ↑May 14th, 2024, 1:51 pm Yeah, I saw that somewhere after posting. But from what I've read about [filter_wml] it sounds like there's no penalty for using it where it is not necessary, and that way you don't need to remember if you need it or not in cases you don't deal with regularly. ?
There is a special optimization for
[filter_wml]
in the case that it only contains a [variables]
subtag, but otherwise you're paying the cost of converting the entire unit to WML in order to compare it.By the way, in case you missed it, I edited the wiki page to be more clear about what unhealable does.