Skip to content

Commit

Permalink
replace depr not_living
Browse files Browse the repository at this point in the history
  • Loading branch information
white-haired-uncle committed May 14, 2024
1 parent 8dae417 commit cd46d92
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion scenarios8/04_Kidnapped.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@
description= _ "Immune to drain, poison, and plague"
[effect]
apply_to=status
add=not_living
add=unpoisonable,undrainable,unplagueable
[/effect]
[/trait]
[trait]
Expand Down
4 changes: 2 additions & 2 deletions units/demons_race.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
description= _ "Immune to drain, poison, and plague, extra cold, blade and pierce resistances"
[effect]
apply_to=status
add=not_living
add=unpoisonable,undrainable,unplagueable
[/effect]
[effect]
apply_to=resistance
Expand Down Expand Up @@ -940,7 +940,7 @@ shrine=Shrine|Temple|Cathedral|Dome|Cradle
description= _ "Immune to drain, poison, and plague"
[effect]
apply_to=status
add=not_living
add=unpoisonable,undrainable,unplagueable
[/effect]
[/trait]
[trait]
Expand Down
12 changes: 6 additions & 6 deletions utils/abilities_events.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2749,7 +2749,7 @@
[/filter_attack]
[filter_second]
[not]
status=not_living
status=unplagueable
[/not]
[not]
[filter_location]
Expand Down Expand Up @@ -2779,7 +2779,7 @@
[/filter_second_attack]
[filter]
[not]
status=not_living
status=unplagueable
[/not]
[not]
[filter_location]
Expand Down Expand Up @@ -2809,7 +2809,7 @@
[/filter_attack]
[filter_second]
[not]
status=not_living
status=unplagueable
[/not]
[/filter_second]
[modify_unit]
Expand All @@ -2834,7 +2834,7 @@
[/filter_second_attack]
[filter]
[not]
status=not_living
status=unplagueable
[/not]
[/filter]
[modify_unit]
Expand Down Expand Up @@ -3608,7 +3608,7 @@
# Drain
[if]
[variable]
name=this_item.status.not_living
name=this_item.status.undrainable
not_equals=yes
[/variable]
[and]
Expand Down Expand Up @@ -3832,7 +3832,7 @@
# Drain
[if]
[variable]
name=this_item.status.not_living
name=this_item.status.undrainable
not_equals=yes
[/variable]
[and]
Expand Down
2 changes: 1 addition & 1 deletion utils/amla.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2903,7 +2903,7 @@
require_amla="undead_legacy, UL3"
[effect]
apply_to=status
add=not_living
add=unpoisonable,undrainable,unplagueable
[/effect]
{AMLA_DEFAULT_BONUSES}
[/advancement]
Expand Down
2 changes: 1 addition & 1 deletion utils/chapter9_utils.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8165,7 +8165,7 @@ The map can be viewed through the right-click menu."}
[/effect]
[effect]
apply_to=status
add=not_living
add=unpoisonable,undrainable,unplagueable
[/effect]
[/object]
[/modifications]
Expand Down
2 changes: 1 addition & 1 deletion utils/item_list.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ Stand up and see the sky turn bright"
[object]
name= _ "Foul Potion"
image=items/potion-green.png
description_override= _ "<span color='orange'>New ability: Unholy hunger (the unit loses increasing amounts of maximum HP per turn (unless cared by a healer), but when it kills an enemy, the count restarts and it gains 3 to maximum HP and is healed slightly).</span>"
description_override= _ "<span color='orange'>New ability: Unholy hunger (the unit loses increasing amounts of maximum HP per turn (unless cared by a healer), but when it kills an enemy, the count restarts and it gains 3 to maximum HP and is healed slightly). Has no effect if the victim cannot be drained, like the undead.</span>"
number=16
sort=potion
drop=1
Expand Down
2 changes: 1 addition & 1 deletion utils/utils.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ $item_info.description"
[/effect]
[effect]
apply_to=status
add=not_living
add=unpoisonable
[/effect]
[/object]
{CLEAR_VARIABLE beel_store,beel_store_level_add}
Expand Down

0 comments on commit cd46d92

Please sign in to comment.