2023-12-13 14:11:09 +08:00
|
|
|
|
using Gameplay.Summon;
|
2023-12-14 16:14:00 +08:00
|
|
|
|
using Gameplay.Unit;
|
2023-12-13 14:11:09 +08:00
|
|
|
|
namespace Gameplay.PlayerSkill.Logic
|
|
|
|
|
|
{
|
|
|
|
|
|
public class PlayerSkillLogic05 : BasePlayerSkillLogic
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
protected override void _OnInit()
|
|
|
|
|
|
{
|
|
|
|
|
|
base._OnInit();
|
|
|
|
|
|
|
|
|
|
|
|
var genSummonId = owner.ReadParamInt(0);
|
|
|
|
|
|
var createCellIndex = owner.selectedCellIndex;
|
2023-12-14 16:14:00 +08:00
|
|
|
|
GameUnitManager.instance.summonManager.CreateSummon(genSummonId, createCellIndex, owner.playerUnit);
|
2023-12-13 14:11:09 +08:00
|
|
|
|
|
|
|
|
|
|
isFinished = true;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|