Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 2316

WML Workshop • Re: How to increase heal and poison damage value?

$
0
0
The poison will be always 8; it's in the game_config.cfg
Unless you know how to change that in your add-on. I have no idea how to do that!

Now the healing amount, the villages of the mainline will always heal 8.

Code:

[terrain_type]    symbol_image=fog/fog1    editor_image=village/village-overlay-editor    id=village_overlay    name= _ "Village"    editor_name= _ "Village Overlay"    string=^Vov    aliasof=_bas    heals=8 #HERE! IT HEALS 8    gives_income=yes    editor_group=village, special    hide_help=yes[/terrain_type]
You can create abilities that heals more than 8.

Code:

[heals]        value=10 #Change the value!        id=healing        affect_allies=yes        name= _ "heals +10"        female_name= _ "female^heals +10"        description= _ "This unit combines herbal remedies with magic to heal units more quickly than is normally possible on the battlefield.A unit cared for by this healer may heal up to 10 HP per turn, or stop poison from taking effect for that turn.This ability will not cure an affected unit of poison, however, only delay its effect."        affect_self=no        poison=slowed        [affect_adjacent]        [/affect_adjacent]    [/heals]

Statistics: Posted by Saizo-Luz — Today, 2:31 pm



Viewing all articles
Browse latest Browse all 2316

Latest Images

Trending Articles



Latest Images