Make the standard [hides] abilities switch between "active" and "inactive".
(Previously, they had always been active, just not always applying to the unit. Same functionality, but now reported differently in the sidebar.)
This commit is contained in:
parent
1500af41a2
commit
2574b599e3
1 changed files with 8 additions and 8 deletions
|
@ -427,11 +427,11 @@ This unit can hide in forest, and remain undetected by its enemies.
|
|||
|
||||
Enemy units cannot see this unit while it is in forest, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
|
||||
affect_self=yes
|
||||
[filter_self]
|
||||
[filter]
|
||||
[filter_location]
|
||||
terrain=*^F*
|
||||
[/filter_location]
|
||||
[/filter_self]
|
||||
[/filter]
|
||||
[/hides]
|
||||
#enddef
|
||||
|
||||
|
@ -453,11 +453,11 @@ The unit becomes invisible during night.
|
|||
|
||||
Enemy units cannot see this unit at night, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
|
||||
affect_self=yes
|
||||
[filter_self]
|
||||
[filter]
|
||||
[filter_location]
|
||||
time_of_day=chaotic
|
||||
[/filter_location]
|
||||
[/filter_self]
|
||||
[/filter]
|
||||
[/hides]
|
||||
#enddef
|
||||
|
||||
|
@ -479,11 +479,11 @@ This unit can hide in villages (with the exception of water villages), and remai
|
|||
|
||||
Enemy units can not see this unit while it is in a village, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
|
||||
affect_self=yes
|
||||
[filter_self]
|
||||
[filter]
|
||||
[filter_location]
|
||||
terrain=*^V*
|
||||
[/filter_location]
|
||||
[/filter_self]
|
||||
[/filter]
|
||||
[/hides]
|
||||
#enddef
|
||||
|
||||
|
@ -505,11 +505,11 @@ This unit can hide in deep water, and remain undetected by its enemies.
|
|||
|
||||
Enemy units cannot see this unit while it is in deep water, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
|
||||
affect_self=yes
|
||||
[filter_self]
|
||||
[filter]
|
||||
[filter_location]
|
||||
terrain=Wo*^*
|
||||
[/filter_location]
|
||||
[/filter_self]
|
||||
[/filter]
|
||||
[/hides]
|
||||
#enddef
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue