Clearer documentation for the ATTACK_AND_VALIDATE macro

This commit is contained in:
Steve Cotton 2024-04-02 14:38:02 +02:00 committed by Steve Cotton
parent 71c2f65a82
commit 8e59da9186

View file

@ -76,8 +76,12 @@
[/if]
#enddef
# have one adjacent unit attack another adjacent unit
# each unit is given 1000 hp and their attack is made to 1x100, with a 100% chance of hitting
# Have one adjacent unit attack another adjacent unit.
# Each unit is given 1000 hp and their attack is made to 100×1, with a 100% chance of hitting.
#
# By default "alice" attacks "bob", these can be overridden with the ID1 and ID2 optional arguments.
# DAMAGE1 is expected hp loss for ID1 (alice).
# DAMAGE2 is expected hp loss for ID2 (bob), it defaults to the same as DAMAGE1.
#define ATTACK_AND_VALIDATE DAMAGE1
#arg ID1