Replace steadfast with resistance abilities special for Garak (#6075)

if Garak have 0% or -10% resistance only then steadfeast don't usable here.
This commit is contained in:
newfrenchy83 2021-09-17 23:28:59 +02:00 committed by GitHub
parent bd793bd6e8
commit 304b7d15e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -689,7 +689,21 @@
[effect]
apply_to=new_ability
[abilities]
{ABILITY_STEADFAST}
[resistance]
id=garak_steadfast
add=20
max_value=50
[filter_base_value]
greater_than=0
less_than=50
[/filter_base_value]
name= _ "steadfast"
female_name= _ "female^steadfast"
description= _ "This unit's resistances are increased by 20%, up to a maximum of 50%, when defending. Vulnerabilities are not affected."
special_note={INTERNAL:SPECIAL_NOTES_STEADFAST}
affect_self=yes
active_on=defense
[/resistance]
[/abilities]
[/effect]
[effect]