Commit graph

54 commits

Author SHA1 Message Date
newfrenchy83
3910817cf7
add a 'replacement_type' and 'alternative_type' attribute in [damage] special or ability who modify the type of attack used (#7865)
At the suggestion of @stevecotton, I propose a special 'replacement_type' and 'alternative_type' attribute capable of modifying the type of attack used when the conditions are met.

Also make Holy water combine arcane damage with native type of weapon

Like holy water imbued ordinary weapon, it's seem logic what arcane damage dominant what if more efficient what original type(water can't altered pierce or blading of spear or sword)
2023-10-25 08:10:52 -05:00
Tommy
b4119dce4a Change pickuppable item macros to create submergable items
This fixes #1146.
2022-07-30 14:56:38 +12:00
Celtic Minstrel
059dabcb6a Do a pass of macro documentation
- Adds a bunch of documentation
- Fixes some incorrect or inaccurate documentation
- Moves some documentation so that wmlscope actually picks it up
- Excludes some internal macros from being documented
2020-11-22 12:24:43 -05:00
Celtic Minstrel
ea9d483149 [effect]apply_to=new_animation does not support name
It does support id though, which is used as a sort of caching mechanism
in case the same effect is applied many times, so use that instead of name.
For good measure, also use an id on the sceptre of fire animation
2018-10-23 22:41:48 -04:00
Steve Cotton
1aa974a250 Prose: the Storm Trident's description uses "merfolk" (issue #2936)
Also update Dead Water's copy of it to use race= instead of a
list of unit types (as done for the core object in 613dd431).

(cherry-picked from commit ad7bc19dd9)
2018-10-07 03:22:37 +00:00
Jeffrey 'Sigurd' Westcoat
aceabbe018 Macros: Tweak sceptre damage for story reasons (#2220)
Sceptre (15x4) is now stronger than the uncut ruby of fire (14x4) for
regular mainline users Thursagan and Konard II. Level 3 Konrad & Li'sar
in HttT are still exceptional users of the sceptre (18x4 & 16x4).

From discussions with zookeeper in irc.
2017-11-27 13:46:57 +02:00
Gregory A Lundberg
09e124aa8e Unique items: don't be a pig
And the Lord said, "Thou hast already consumed My Holy Water, thou needest another not."

And, hearing the Word of the Lord, Posieden said, "Yo! Storm Trident! Dude, look in your hand!"
2016-08-02 14:58:09 -05:00
Gregory A Lundberg
010f943a40 [option]message= deprecated, use label=
According to the Wiki, since 1.13.2 message= is an alias for label=.

Using message= provokes a warning about it being deprecated.

This replaces message= with label= in the entire mainline (where it had not already been changed).
2016-07-03 13:41:44 -05:00
aquileia
dbc3b3c8e4 Deprecate MISSILE_FRAME_FIREBALL 2015-01-31 23:41:57 +01:00
David Mikos
1bcbb0d95e AnimationWML: finish removing depreciated 'begin' tag from frames in data/core 2013-10-10 15:01:12 +10:30
Ignacio R. Morelle
e7e7f68722 Remove obsolete image sources note 2012-08-26 00:34:08 +00:00
Alexander van Gessel
3f019c7d2d Run wmllint to convert [object]duration=level to [object]duration=scenario 2012-05-01 22:14:02 +01:00
Ignacio R. Morelle
f0a3854f1b wmllint: Handle deprecated implicit side=1 in more actions;...
...run the new code in mainline

Shame on you, esr.

This commit handles [remove/place_shroud], [gold] and [modify_side/ai]...

...using modified code derived from patch #2666
2011-08-02 00:38:36 +00:00
Ignacio R. Morelle
53e260ca6b Ran wmlindent in mainline except for data/gui 2011-08-02 00:01:08 +00:00
Eric S. Raymond
8da4e3ffa9 A forum user pointed out that the King ought to be using...
...the royal house's pocket cannon (the Sceptre of Fire) during the
siege situations in EI.  Since the user already has some undetermined
number of has high-level mages (e.g. firecasters) at this point, this
addition shouldn't be unbalancing.
2011-07-05 11:33:45 +00:00
Steven Panek
0e9a0cf325 Applied patch #1883 with slight modifications. 2011-03-08 00:22:02 +00:00
Steven Panek
595cd77286 Added TAKE_IT_STRING and LEAVE_IT_STRING arguments...
...to PICKUPPABLE_ITEM to ensure the possibility of accurate
translatability.
2011-03-06 22:45:43 +00:00
Steven Panek
9aa2403897 Deprecated ITM_GLOWING_BRAZIER. 2010-11-28 09:51:24 +00:00
Steven Panek
8dfad246d7 Deprecated ITM_BOOK1 and ITM_TREE1. 2010-11-25 10:13:05 +00:00
Steven Panek
3a6eb75ee8 Renamed [removeitem] to [remove_item]; deprecated [removeitem]. 2010-10-01 23:42:21 +00:00
Steven Panek
d784c34fd2 Applied file #10184 from patch #1926 with modifications. 2010-09-12 04:20:34 +00:00
Steven Panek
a195d6f8b0 Added some pofix rules for quote conversions and spacing fixes. 2010-09-02 23:23:34 +00:00
Lari Nieminen
3e3ca319eb Fixed a mistyped key name reported on the forums. 2010-07-10 23:03:09 +00:00
Eric S. Raymond
75f2727548 More nacro argument type checking. No mismatches in mainline. 2010-02-11 22:45:04 +00:00
Eric S. Raymond
d72fb9cca7 More impprovements in macro type checking. No conflicts in mainline. 2010-02-11 20:26:35 +00:00
Lari Nieminen
10bf1d8f04 Changed the description of the holy water...
...when asking the player whether or not to pick it up.
2009-06-01 17:13:54 +00:00
Eric S. Raymond
51c13fb819 Pre-1.6 reindent and whitespace cleanup. 2009-03-01 12:56:14 +00:00
Lari Nieminen
e60b0d156f Converted OBJ_POTION_HOLY to use PICKUPPABLE_ITEM. 2009-02-19 11:09:36 +00:00
Lari Nieminen
b29fc739b3 Made the PICKUPPABLE_ITEM macro allow picking up items...
...with the same id in different scenarios.
2009-02-19 10:24:04 +00:00
Mark de Wever
8bf7cbad4a Fix a typo. 2008-12-08 21:23:51 +00:00
Eric S. Raymond
4861e50155 Reindent mainline in preparation for 1.6. 2008-12-08 17:45:47 +00:00
Eric S. Raymond
132b04ace7 Rewrite macro for storm trident lightning effect so it's more generally useful. 2008-12-08 17:27:03 +00:00
Richard Kettering
25209ab400 New storm trident that uses the new animations.
A known bug in the previous version and in this version is that the
unit disappears when the lightning is cast.
2008-12-08 03:53:14 +00:00
Eric S. Raymond
76abc35ca6 wmllint now does translation-mark and doublespace checks outside scenrio tags.
This diff fixes some glitches found that way and tells wmllint to ignore
various edge cases.  A few cannot_use_message=NONE instances are removed,
as this simplifies the check and zookeeper says it's safe.
2008-10-09 17:46:10 +00:00
Eric S. Raymond
b31c324728 Fulfil the rest of bug #12180. Reindent appropriately. 2008-08-28 23:07:44 +00:00
Eric S. Raymond
318486ce4b Reindent most of the data tree in preparation for making wmlindent smarter. 2008-08-28 17:57:00 +00:00
Lari Nieminen
613dd431d5 Converted the standard storm trident macro...
...to use the new PICKUPPABLE_ITEM macro.
2008-07-15 19:35:24 +00:00
Nils Kneuper
d1897fba77 some stuff by wmllint...
...(correcting one mistake, removng an empty line at the end of a
file, adding a newline at the end of file)
2008-05-17 12:26:43 +00:00
Lari Nieminen
b58f95fdff Added a way to specify a message for units that can't pick up the item. 2008-05-04 11:44:53 +00:00
Lari Nieminen
18147344d8 Added a macro for placing items that...
...the player can choose whether to pick up or not.
2008-05-04 10:23:59 +00:00
Patrick Parker
14247b09cd patch #1037: Filter_x renaming 2008-04-08 07:15:25 +00:00
Ignacio R. Morelle
68e7fdb4b0 Remove deprecated usage of [message] id=...
...that was left over of Wesnoth's prehistoric period (a.k.a. before
gettextization of WML)
2008-03-25 16:51:37 +00:00
Eric S. Raymond
15187c0e65 Enabke wmllint to check for newlines in message strings,
...and implement a new kind of magic comment to suppress the warning.
2008-03-10 02:42:35 +00:00
Eric S. Raymond
b98a5ba1d1 Scenery for the bad guy's keep.
Create a new standard macro for a glowing brazier.
2008-02-13 11:27:21 +00:00
Eric S. Raymond
b1b2435d40 Reindent the mainline content to uniiform whitespace. 2008-01-24 00:16:42 +00:00
Lari Nieminen
4929525216 Remove a bunch of unused macros. 2007-11-27 10:59:39 +00:00
Eric S. Raymond
b9df94f7e7 Improve Holy Water description. Add some gryphon names. 2007-09-22 18:26:34 +00:00
Jérémy Rosen
4fa6d0fb34 new [effect] new_animation 2007-09-08 10:45:44 +00:00
Jérémy Rosen
714a0cf1a6 fix mistake in the way storm trident is translated 2007-09-08 10:38:46 +00:00
Jérémy Rosen
29123929b8 appllying patch 788: ability to add and remove abilities via WML
thx to joshudson
2007-08-21 21:27:06 +00:00