@@ -573,7 +573,7 @@ def command_card(self, buffer, frames, type, code, pid, flag, atype):
573573 return TargetAbilityEvent (frames , pid , type , code , ability , target )
574574
575575 else :
576- return AbilityEvent (frames ,pid ,type ,code ,ability )
576+ return SelfAbilityEvent (frames ,pid ,type ,code ,ability )
577577
578578 def right_click_target (self , buffer , frames , type , code , pid , flag , atype ):
579579 # ability (2), object id (4), object type (2), ?? (10)
@@ -696,9 +696,7 @@ def command_card(self, buffer, frames, type, code, pid, flag, atype):
696696 return TargetAbilityEvent (frames , pid , type , code , ability , target )
697697
698698 else :
699- pass
700-
701- return UnknownLocationAbilityEvent (frames , pid , type , code , ability )
699+ return SelfAbilityEvent (frames , pid , type , code , ability )
702700
703701
704702class GameEventsReader_19595 (GameEventsReader_18574 ):
@@ -725,9 +723,7 @@ def command_card(self, buffer, frames, type, code, pid, flag, atype):
725723 return TargetAbilityEvent (frames , pid , type , code , ability , target )
726724
727725 else :
728- pass
729-
730- return UnknownLocationAbilityEvent (frames , pid , type , code , ability )
726+ return SelfAbilityEvent (frames , pid , type , code , ability )
731727
732728 def right_click_target (self , buffer , frames , type , code , pid , flag , atype ):
733729 # extra byte long
0 commit comments