mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Merge branch 'improved_cas' of https://github.com/shdwp/dcs_pmcliberation into improved_cas
This commit is contained in:
commit
3b454470f9
@ -41,7 +41,7 @@ class BaseAttackEvent(Event):
|
|||||||
self.to_cp.base.affect_strength(+self.STRENGTH_RECOVERY)
|
self.to_cp.base.affect_strength(+self.STRENGTH_RECOVERY)
|
||||||
|
|
||||||
def skip(self):
|
def skip(self):
|
||||||
if self.to_cp.captured:
|
if not self.is_player_attacking and self.to_cp.captured:
|
||||||
self.to_cp.captured = False
|
self.to_cp.captured = False
|
||||||
|
|
||||||
def player_defending(self, interceptors: db.PlaneDict, clients: db.PlaneDict):
|
def player_defending(self, interceptors: db.PlaneDict, clients: db.PlaneDict):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user