Search found 17 matches

by KanoFromMK
April 17th, 2024, 12:37 pm
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 741

Re: traits

white_haired_uncle wrote: April 17th, 2024, 12:23 pm https://wiki.wesnoth.org/EventWML
oh hey, thanks, ill return someday with the results, thanks again
by KanoFromMK
April 17th, 2024, 11:59 am
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 741

Re: traits

All abilities that are "somehow linked" rely on [event] or their Lua equivalent. You need to locate where they are, and bring them over to your addon. Search by ability id help to find them. we have this #define ABILITY_DISENGAGE [dummy] id=disengage name= _ "disengage" female_n...
by KanoFromMK
April 16th, 2024, 5:06 pm
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 741

Re: traits

UPD2: btw, if this disengage ability is tied to every scenario in UTBS campaign, is it possible to create an analog ability with the same effect to add it to undead units? if yes can you help me please with it? I mean sure. If you can describe what you want the ability to do, I am sure me or some o...
by KanoFromMK
April 16th, 2024, 4:59 pm
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 741

Re: traits

From code review, unit should be hidden during night on specific terrain. You did not say what situations you tested. that's true, my bad, i've tested on village OR at night OR in the forest, but not anything combined sorry about that btw a good Knight here helped me with it so no more questions ab...
by KanoFromMK
April 16th, 2024, 11:18 am
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 741

Re: traits

You should clarify what you mean by doesnt work. it meant exactly that, didn't clarify because i didn't know what else to add and/or what is relevant i know its dumb to come to people and ask for help not specifying what the problem is in the first place but i really didn't know what else to add th...
by KanoFromMK
April 16th, 2024, 10:56 am
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 741

Re: traits

What you mean by traits are "abilities" (submerge/skirmisher). Disengage is not the ability definition itself, rather has a global event which is used in every scenario of that campaign (UtbS) to make it work. Also, ability Ninja might now work since you have two "[filter_location]&q...
by KanoFromMK
April 16th, 2024, 10:53 am
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 741

Re: traits

Yeah, "doesn't work" isn't much to go on. I wonder if this will help (from a [unit] declaration): [modifications] [advancement] [effect] apply_to=new_ability [abilities] {ABILITY_NINJA} [/abilities] [/effect] [/advancement] [/modifications] sorry) didn't know how to put it otherwise, bc t...
by KanoFromMK
April 15th, 2024, 10:10 pm
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 741

traits

How can i convert traits from specific campaigns to those traits that come by default (like skirmisher or submerge) I wanted to just copy everything (imo) relevant to "disengage" trait but it doesn't work properly (actually it doesn't work at all, only the description) also why this doesn'...
by KanoFromMK
April 15th, 2024, 9:41 pm
Forum: WML Workshop
Topic: status invulnerable
Replies: 14
Views: 3340

Re: status invulnerable

Celtic_Minstrel wrote: April 8th, 2024, 5:39 pm Regarding how invulnerable works, it just forces the hit chance to zero.
danke)
by KanoFromMK
April 2nd, 2024, 9:50 pm
Forum: WML Workshop
Topic: status invulnerable
Replies: 14
Views: 3340

Re: status invulnerable

Compare how undead trait gives status unpoisonable https://github.com/wesnoth/wesnoth/blob/e052632a5052eeb45def1801bf9f994829add9ea/data/core/macros/traits.cfg#L50 yes, this indeed does what i want, thank you alas i couldnt find out how invulnerable works, but thanks to you and all good people here...
by KanoFromMK
April 2nd, 2024, 8:51 pm
Forum: WML Workshop
Topic: status invulnerable
Replies: 14
Views: 3340

Re: status invulnerable

[defense] shallow_water=0 reef=0 swamp_water=0 flat=0 sand=0 forest=0 hills=0 mountains=0 village=0 castle=0 cave=0 frozen=0 fungus=0 [/defense] gives the same effect, except magical attacks that overwrite the defence capabilities and give the same minimum 70%
by KanoFromMK
April 2nd, 2024, 8:28 pm
Forum: WML Workshop
Topic: status invulnerable
Replies: 14
Views: 3340

Re: status invulnerable

I thought im probably asking too much, thats why my question from the start was how does invulnerable status work
by KanoFromMK
April 2nd, 2024, 8:27 pm
Forum: WML Workshop
Topic: status invulnerable
Replies: 14
Views: 3340

Re: status invulnerable

"I'm not entirely sure what you are trying to do" Now what im trying to do is create a character that has a trait, or something, that gives him invulnerable status. You create this unit through debug in any scenario and it has this status, that works like in Pebbles_in_the_Flood. This trai...
by KanoFromMK
April 2nd, 2024, 8:16 pm
Forum: WML Workshop
Topic: status invulnerable
Replies: 14
Views: 3340

Re: status invulnerable

thats too heavy for me) sorry i dropped the idea of implementing it in a scenario, now im merely interested in what does Invulnerability do exactly like does it decrease the chance of being hit to 0 or decrease the chance of the enemy's weapon to hit to 0. How does it work... god knows, and wesnoth ...
by KanoFromMK
April 2nd, 2024, 7:49 pm
Forum: WML Workshop
Topic: status invulnerable
Replies: 14
Views: 3340

Re: status invulnerable

but there must be a way to set a status as default to a unit_type created by me
how can AI act accordingly if it does not know what invulnerable means? and if it does know then somewhere in the files must be a in code description of what this status does
i refuse to believe it is impossible to know)