Amla to increase attack damage

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
gandalf
Posts: 157
Joined: August 24th, 2003, 4:15 pm
Location: Sweden

Amla to increase attack damage

Post by gandalf »

What should I write that in the amla configuration file if I want the damage dealt in an attack to increase?
Angband, the ultimate FPS game!
Fiach Dubh
Posts: 381
Joined: December 2nd, 2006, 4:10 am
Location: Thar an scáthán

Post by Fiach Dubh »

Code: Select all

#define AMLA_STRONG
[advancement]
strict_amla=yes
max_times=100
id=strong
description= _ "+1 damage to all melee attacks."
icon="misc/icon-amla-tough.png"
image="misc/icon-amla-tough.png"
[effect]
apply_to=attack
range=melee
increase_damage=1
[/effect]
[effect]
apply_to=max_experience
increase=25%
[/effect]
[/advancement]
#enddef

Code: Select all

#define AMLA_DEXTROUS
[advancement]
strict_amla=yes
max_times=100
id=dextrous
description= _ "+1 damage to all ranged attacks."
icon="misc/icon-amla-tough.png"
image="misc/icon-amla-tough.png"
[effect]
apply_to=attack
range=ranged
increase_damage=1
[/effect]
[effect]
apply_to=max_experience
increase=25%
[/effect]
[/advancement]
#enddef

Code: Select all

#define AMLA_DEADLY
[advancement]
strict_amla=yes
max_times=100
id=deadly
description= _ "+1 damage to all attacks whether melee or ranged."
icon="misc/icon-amla-tough.png"
image="misc/icon-amla-tough.png"
[effect]
apply_to=attack
increase_damage=1
[/effect]
[effect]
apply_to=max_experience
increase=25%
[/effect]
[/advancement]
#enddef
And here's one to increase move speed (God only knows what might use this!):

Code: Select all

#define AMLA_QUICK
[advancement]
strict_amla=yes
max_times=100
id=quick
description= _ "+1 movement point."
icon="misc/icon-amla-tough.png"
image="misc/icon-amla-tough.png"
[effect]
apply_to=movement
increase=1
[/effect]
[effect]
apply_to=max_experience
increase=25%
[/effect]
[/advancement]
#enddef
Jetryl wrote:Normal people are like candy ravers. You look away for a moment and next thing you know they're spreading vaseline on your nipples and cooing like a pigeon.
Post Reply