weapons special_id
Moderator: Forum Moderators
- hermestrismi
- Posts: 730
- Joined: February 6th, 2016, 11:28 pm
- Location: Tunisia
- Contact:
weapons special_id
I have a list of weapons_specials on wml and I want to call them to a unit:add_modification using
is 'special_id sufficient in such case or I need to recreate all tags inside [abilities]?
Code: Select all
wml.tag.advancement -- ...
{ wml_tag.set_specials
{ mode = "append",
special_id = "multiple_hits" }
}
The Dark Master, The Dark Hordes (Unofficial version), Return of the Legion , Eternal Kingdom, An Elvish Scout,Unrest in Elfland , Hidden War ...
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
- hermestrismi
- Posts: 730
- Joined: February 6th, 2016, 11:28 pm
- Location: Tunisia
- Contact:
Re: weapons special_id
never mind.
the answer is no.
I need either use or recreating all the tags and keys of manually.
solved
the answer is no.
I need either use
Code: Select all
[arg][/arg]
Code: Select all
[abilities][/abilities]
solved
The Dark Master, The Dark Hordes (Unofficial version), Return of the Legion , Eternal Kingdom, An Elvish Scout,Unrest in Elfland , Hidden War ...
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
Re: weapons special_id
You can create map or function from id to config. https://github.com/ProditorMagnus/Oroci ... s.lua#L272
- Celtic_Minstrel
- Developer
- Posts: 2371
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: weapons special_id
You don't need to recreate the tags in Lua form. You can use the WML preprocessor to forward the official definitions directly to the script.