Question about defense tags.
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.
- ChaosRider
- Posts: 846
- Joined: April 15th, 2012, 1:15 pm
Question about defense tags.
Is there any way to create ability which is changing value of adjected units defense? I've moved part of code of resistance tags to code with defense tags but it doesnt work.
I called it heavy stance (+25% res, -10% defense for own and adjected units) - Im just curious I know that I can put defense terrain value in to object/effect and change unit terrain defense value.
I called it heavy stance (+25% res, -10% defense for own and adjected units) - Im just curious I know that I can put defense terrain value in to object/effect and change unit terrain defense value.
Creator of WOTG (+2880 units), MWC (+615 units), SurvivorsArea, RandomColosseum, RC WOTG, RC MWC, ColosseumRandomClonesBattle, BetweenDarknessAndLight, StealingWeapons, MoreUnitsForms, MoreDamageTypes, CanBeOnlyOne, ColosseumOneWinner, BonusSpam, CriticalStrike - available at 1.12 Wesnoth server.
Re: Question about defense tags.
No, currently the only way to do that is to do it through [chance_to_hit] weapon specials (which isn't possible in every situation, or at least is very awkward).