Search found 3529 matches
- 39 minutes ago
- Forum: WML Workshop
- Topic: [illuminates] ability question
- Replies: 2
- Views: 10
Re: [illuminates] ability question
You implemented that 2 abilities ABILITY_HOLY_AURA that target same location are cumulative. You probably didnt give mage of light this ability.
- July 13th, 2026, 9:56 pm
- Forum: WML Workshop
- Topic: How to restrict a unit's possible movement tiles
- Replies: 5
- Views: 62
Re: How to restrict a unit's possible movement tiles
Then you need [teleport] ability,
- July 13th, 2026, 6:18 pm
- Forum: WML Workshop
- Topic: How to restrict a unit's possible movement tiles
- Replies: 5
- Views: 62
Re: How to restrict a unit's possible movement tiles
By terrains and movement costs.
- July 13th, 2026, 6:18 pm
- Forum: Users’ Forum
- Topic: I've lost all my hit points at Monte Carlo...
- Replies: 25
- Views: 244
Re: I've lost all my hit points at Monte Carlo...
I already said level has nothing to do with chance to hit.
- July 13th, 2026, 6:50 am
- Forum: Users’ Forum
- Topic: I've lost all my hit points at Monte Carlo...
- Replies: 25
- Views: 244
Re: I've lost all my hit points at Monte Carlo...
I believe it was designed for SX games where attacks have numbers like 50-20. Original calculation was too slow. So basically it is not showing strictly correct probability for hp outcomes, but close enough.
- July 12th, 2026, 11:03 am
- Forum: WML Workshop
- Topic: Disable Recruit from Crossing Water
- Replies: 7
- Views: 88
Re: Disable Recruit from Crossing Water
Logical castle is *^C*
- July 12th, 2026, 6:19 am
- Forum: WML Workshop
- Topic: Disable Recruit from Crossing Water
- Replies: 7
- Views: 88
Re: Disable Recruit from Crossing Water
If you change unit, then it should be recruit event and first_time_only no. If you change AI, then it should be start, prestart, turn x, or another not unit based event.
- July 11th, 2026, 4:43 pm
- Forum: WML Workshop
- Topic: 1.18 "Add-on ID" structure questions
- Replies: 27
- Views: 308
Re: 1.18 "Add-on ID" structure questions
By symbol we talk about
Syntax: #ifdef symbol substitution-if-defined [#else substitution-if-not-defined ] #endif and Syntax: #define symbol [parameters] <newline> substitution #enddef meaning.- July 11th, 2026, 12:31 pm
- Forum: Users’ Forum
- Topic: I've lost all my hit points at Monte Carlo...
- Replies: 25
- Views: 244
Re: I've lost all my hit points at Monte Carlo...
The first sentences gives impression you expect there be some relation between level and chance to hit. That is not the case.
Monte Carlo affects damage estimation before fight. It does not affect actual fight.
Monte Carlo affects damage estimation before fight. It does not affect actual fight.
- July 11th, 2026, 9:05 am
- Forum: WML Workshop
- Topic: 1.18 "Add-on ID" structure questions
- Replies: 27
- Views: 308
Re: 1.18 "Add-on ID" structure questions
I believe extra_defines is deprecated because it does not do anything useful. If you have designed your addons to have use case for it, you would solve it by define=A and
Code: Select all
#ifdef A
#define B
#enddef
#endif
- July 11th, 2026, 7:30 am
- Forum: WML Workshop
- Topic: 1.18 "Add-on ID" structure questions
- Replies: 27
- Views: 308
Re: 1.18 "Add-on ID" structure questions
You need to include macros in _main.cfg, but for readability its common to put their definition in another file like utils. If you do not include them ({./utils/macros.cfg}) in _main.cfg then utils file will not be read. Wesnoth does not look files unless you tell it to look through _main.cfg.
- July 11th, 2026, 7:15 am
- Forum: WML Workshop
- Topic: Enemies randomly get set to 4 hp
- Replies: 3
- Views: 68
Re: Enemies randomly get set to 4 hp
To solve it dont add object to unit that already has this object. I use status to keep track of that https://github.com/ProditorMagnus/Oroci ... ua#L77-L97
- July 9th, 2026, 6:09 pm
- Forum: WML Workshop
- Topic: v1.19.24 Windows 11 Possible bug
- Replies: 12
- Views: 180
Re: v1.19.24 Windows 11 Possible bug
Ability events dont work well enough for me to even consider using them. Though as log says if you do want to use them you need id.
In this example, reason for error is that you register event in name=side 1 turn 1. That does not have unit/second_unit available. From what I understand, practically ...
In this example, reason for error is that you register event in name=side 1 turn 1. That does not have unit/second_unit available. From what I understand, practically ...
- July 9th, 2026, 3:56 pm
- Forum: WML Workshop
- Topic: Attack Calculation beyond max HP
- Replies: 3
- Views: 83
Re: Attack Calculation beyond max HP
I mean the feature that unit is not capped to max hp regularly.
- July 8th, 2026, 7:15 pm
- Forum: Faction & Era Development
- Topic: Rashy Era
- Replies: 338
- Views: 530530
Re: Rashy Era
ABILITY_FEAR with -25 per level is too strong, better change it to -15.