public void DoState(EntityBase entity, params object[] args) { if (entity._entityType == Constants.EntityType.Player) { entity._bCanReleaseSkill = false; } entity.AttackEffect((int)args[0]); entity.AttackDamage((int)args[0]); }
public void Process(EntityBase entity, params object[] objs) { PECommon.Log("Process attck state."); entity.AttackEffect((int)objs[0]); entity.AttackDamage((int)objs[0]); }