yyl
2025-08-25 cec8b67d82c2c2c1662d55c818c4a46bcc0487db
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Linq;
 
 
public class DirectlyDamageSkill : SkillBase
{
 
    public DirectlyDamageSkill(BattleObject _caster, SkillConfig _skillCfg,
            HB427_tagSCUseSkill _vNetData, List<GameNetPackBasic> _packList, BattleField _battleField)
            : base(_caster, _skillCfg, _vNetData, _packList, _battleField)
    {
        foreach (var pack in packList)
        {
            BattleDebug.LogError("directly damage skill pack type is " + pack.GetType());
        }
    }
 
    protected override void OnHitTargets(int _hitIndex, List<HB427_tagSCUseSkill.tagSCUseSkillHurt> hitList)
    {
        base.OnHitTargets(_hitIndex, hitList);
    }
 
    protected override void OnAllAttackMoveFinished()
    {
        base.OnAllAttackMoveFinished();
 
        OnSkillFinished();
    }
 
}