You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
448 B
18 lines
448 B
using ET.EventType; |
|
|
|
namespace ET |
|
{ |
|
public class AttackActionEnd_Update : AEvent<AttackActionEnd> |
|
{ |
|
protected override void Run(AttackActionEnd args) |
|
{ |
|
var battleMgr = args.Unit.ZoneScene().CurrentScene().GetComponent<BattleManagerComponent>(); |
|
if (battleMgr == null) |
|
{ |
|
return; |
|
} |
|
|
|
battleMgr.OnAttackActionEnd(args); |
|
} |
|
} |
|
} |