Skip to content

Commit

Permalink
solve obvious issues revealed by schema, re ProditorMagnus/Ageless-fo…
Browse files Browse the repository at this point in the history
  • Loading branch information
ProditorMagnus committed Jul 13, 2023
1 parent 2a5b7cb commit 8d4b906
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion units/Kharos/Kharosian_Cataphract.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
experience=126
level=3
alignment=neutral
ignore_global_traits=yes
ignore_race_traits=yes
{TRAIT_STRONG}
{TRAIT_QUICK}
{TRAIT_RESILIENT}
Expand Down
2 changes: 1 addition & 1 deletion units/Sky_Kingdom/Mirrorshield.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
[/filter_second]
{VARIABLE halfdmg $weapon.damage}
{VARIABLE_OP halfdmg multiply 0.66}
{VARIABLE_OP halfdmg round ceiling}
{VARIABLE_OP halfdmg round ceil}

[harm_unit]
[filter]
Expand Down
3 changes: 0 additions & 3 deletions units/units.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
num_traits=2
markov_chain_size=2
{ELVISH_NAMES}
[resistance]
arcane=100
[/resistance]
[/race]

[race]
Expand Down
1 change: 0 additions & 1 deletion utils/abilities.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,6 @@ The amount of hitpoints gained:"+" +"+{VALUE}
multiply=0.8
name= _ "magic hardening"
description= _ "While attacking, this unit will take 20% less fire/cold/arcane damage in retaliation."
affect_self=no
apply_to=opponent
active_on=offense
[filter_opponent]
Expand Down
4 changes: 2 additions & 2 deletions utils/healing.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ The amount of hitpoints healed:"+" +"+{VALUE}
[regenerate]
value={VALUE}
id=eoma_regenerates{VALUE}
name="regenerates"+" +"+{VALUE}
name=_"regenerates"+" +"+{VALUE}
description=_"This unit regenerates some hp every turn. this ability doesn't cure poison, though.
The amount of hitpoints restored:"+" +"+{VALUE}
affect_self=yes
Expand All @@ -89,7 +89,7 @@ The amount of hitpoints restored:"+" +"+{VALUE}
[regenerate]
value={VALUE}
id=eoma_regenerates{VALUE}
name="regenerates"+" +"+{VALUE}
name=_"regenerates"+" +"+{VALUE}
description= _ "The unit will heal itself some HP per turn. If it is poisoned, it will remove the poison instead of healing.
The amount of hitpoints restored:"+" +"+{VALUE}
affect_self=yes
Expand Down
1 change: 0 additions & 1 deletion utils/pain_absorption.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
id=eoma_painabsorb{VALUE}
name= _ "pain absorption"+" +"+"{VALUE}"
description=_"When harming a living enemy, this unit is healed by "+{VALUE}+" "+{EOMA_NO_RPG}
value={VALUE}
[/dummy]
[/specials]
# wmlindent: start ignoring
Expand Down
8 changes: 5 additions & 3 deletions utils/resistance.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,11 @@
affect_enemies=yes
[affect_adjacent]
adjacent=n,ne,se,s,sw,nw
[not]
ability=eoma_magicabsorb
[/not]
[filter]
[not]
ability=eoma_magicabsorb
[/not]
[/filter]
[/affect_adjacent]
[filter_base_value]
less_than=70
Expand Down

0 comments on commit 8d4b906

Please sign in to comment.