various fixes towards LegacyCapture

- sniper using Captures, but churches using LegacyCapturable
- unable to parse CaptureThreshold/SabotageHPRemoval from yaml
- not firing up INotifyCapture and breaking:
  * sniper transforming the church on capture in ra
  * proc not giving away it's contents in cnc
This commit is contained in:
Matthias Mailänder
2013-06-23 12:43:24 +02:00
parent 2b84dbfccf
commit e6bdacce9c
5 changed files with 11 additions and 9 deletions

View File

@@ -92,7 +92,8 @@ V01:
IntoActor: v01.sniper
SkipMakeAnims: true
LegacyCapturable:
Type: civilianbuilding
Type: CivilianBuilding
CaptureThreshold: 1
EditorTilesetFilter:
ExcludeTilesets: DESERT

View File

@@ -480,6 +480,7 @@ SNIPER:
CloakSound:
UncloakSound:
UncloakOnMove: yes
Captures:
CaptureTypes: civilianbuilding
AllowAllies: true
LegacyCaptures:
CaptureTypes: CivilianBuilding
Sabotage: no
SabotageHPRemoval: 0