Unkillable ability macro (completed)

The place to post your WML questions and answers.

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.
Post Reply
Bobit
Posts: 33
Joined: February 10th, 2015, 2:42 pm

Unkillable ability macro (completed)

Post by Bobit »

I got bored tonight and decided to mess around in Wesnoth. Attached is a macro for the ability "unkillable". The description is "When this unit would be killed, it is instead petrified until the start of its next turn." Feel free to use it without credit, or to comment on my bad coding style.
Attachments
Custom_abilities.cfg
(2.9 KiB) Downloaded 40 times
Post Reply