multiple objects, overlapping effects
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: 1456
- Joined: August 26th, 2018, 11:46 pm
- Location: A country place, far outside the Wire
multiple objects, overlapping effects
If a unit possesses two objects, say abilities.leadership.value=15 and abilities.leadership.value=20, which one is selected?
What about abilities.leadership.value=-15 and abilities.leadership.value=-20?
Or abilities.leadership.value=-15 abilities.leadership.value=20?
Does it make any difference who the abilities are applied to (for example, if it only uses the greater of the two, would that only apply if they both apply only to allies, or if one applies to allies and one to enemies)?
In my specific case, I have abilities.leadership.value=-15 and abilities.leadership.value=-20 and I think it might be choosing -15 (though I can't completely trust that, hence I need to know what is really being used before I can address what is being reported). And I think it's possible that it's choosing -15 because it is the "greater" of the two.
What about abilities.leadership.value=-15 and abilities.leadership.value=-20?
Or abilities.leadership.value=-15 abilities.leadership.value=20?
Does it make any difference who the abilities are applied to (for example, if it only uses the greater of the two, would that only apply if they both apply only to allies, or if one applies to allies and one to enemies)?
In my specific case, I have abilities.leadership.value=-15 and abilities.leadership.value=-20 and I think it might be choosing -15 (though I can't completely trust that, hence I need to know what is really being used before I can address what is being reported). And I think it's possible that it's choosing -15 because it is the "greater" of the two.
Speak softly, and carry Doombringer.
Re: multiple objects, overlapping effects
Objects are stored as wml, so all tags are ordered. Whatever it currently does is what it will always do with same version of game.
-
- Posts: 1456
- Joined: August 26th, 2018, 11:46 pm
- Location: A country place, far outside the Wire
Re: multiple objects, overlapping effects
You mean it will use whichever comes last?
Speak softly, and carry Doombringer.