public void InitializeTileBuffsTargetBehavior(TileConversionHandler newTargetTile, List <BaseBuffInformationData> buffToAddOnTile, TeamType ownerTeam, TeamType newTargetTeam) { curSkillOwner = ownerTeam; targetTeam = newTargetTeam; targetTile = newTargetTile; tileBuffList = new List <BaseBuffInformationData>(); tileBuffList.AddRange(buffToAddOnTile); }
public void InitializeTileUnitsTargetBehavior(TileConversionHandler newTargetTile, BaseSkillInformationData newSkillInformation, TeamType ownerTeam, TeamType newTargetTeam) { skillInformation = new BaseSkillInformationData(); skillInformation = newSkillInformation; curSkillOwner = ownerTeam; targetTeam = newTargetTeam; curTargetType = skillInformation.targetType; curTargetStat = skillInformation.targetStats; targetTile = newTargetTile; myAnim.Play(); }