Ejemplo n.º 1
0
    protected override void afterReadConfig()
    {
        base.afterReadConfig();

        passiveAttackRadiusT         = passiveAttackRadius * passiveAttackRadius;
        initiativeAttackRadiusT      = initiativeAttackRadius * initiativeAttackRadius;
        followRadiusT                = followRadius * followRadius;
        wakeUpCompanionAttackRadiusT = wakeUpCompanionAttackRadius * wakeUpCompanionAttackRadius;
        attackInfluenceTypeT         = SkillInfluenceTypeConfig.getInfluenceSet(attackInfluenceType);
        driveDirectionSpeedT         = MathUtils.angleToDirection(driveAngleSpeed) / 1000f;
    }
Ejemplo n.º 2
0
    protected override void afterReadConfig()
    {
        base.afterReadConfig();

        if (subNums.Length > 0)
        {
            subNumsDicT = new int[BuffSubNumType.size];

            int[] arr;

            for (int i = 0; i < subNums.Length; i++)
            {
                arr = subNums[i];

                if (arr.Length > 1)
                {
                    subNumsDicT[arr[0]] = arr[1];
                }
            }
        }

        influenceTypeT = SkillInfluenceTypeConfig.getInfluenceSet(influenceType);
    }
Ejemplo n.º 3
0
    /// <summary>
    /// 读完表后处理
    /// </summary>
    protected override void afterReadConfig()
    {
        base.afterReadConfig();

        influenceTypeT = SkillInfluenceTypeConfig.getInfluenceSet(influenceType);
    }