Exemplo n.º 1
0
        private void IndexSkillmodel(MonsterTemplate monster)
        {
            SkillTemplate normalskill = (SkillTemplate)DataTemplate.GetInstance().m_SkillTable.getTableData(monster.getNormalattack());

            PushNeedDownBundle(normalskill.getBallIsticEffID() + _strRes);
            PushNeedDownBundle(normalskill.getUnderAttackEffID() + _strRes);
            SkillTemplate[] m_skill = new SkillTemplate[monster.getMonsterskill().Length];
            for (int i = 0; i < monster.getMonsterskill().Length; ++i)
            {
                if (monster.getMonsterskill()[i] == -1)
                {
                    return;
                }
                m_skill[i] = (SkillTemplate)DataTemplate.GetInstance().m_SkillTable.getTableData(monster.getMonsterskill()[i]);
                PushNeedDownBundle(m_skill[i].getBallIsticEffID() + _strRes);
                PushNeedDownBundle(m_skill[i].getUnderAttackEffID() + _strRes);
            }
        }