Exemple #1
0
        static Character CreateSkeleton()//创建怪物
        {
            Character monster = new Character();

            monster.name = "骷髅兵";
            monster.hp   = 50;
            monster.AddSkill(Skill.CreateDOTSkill("白骨风暴", 3, 10));
            //monster.AddSkill(Skill.CreateHealSkill("死亡之舞", 30));
            return(monster);
        }
Exemple #2
0
        static Character CreateSimon()
        {
            Character simon = new Character();

            simon.name = "西蒙";
            simon.hp   = 100;
            simon.AddSkill(Skill.CreateDamageSkill("出拳", 20));
            simon.AddSkill(Skill.CreateExecuteSkill("处决", 30));
            simon.AddSkill(Skill.CreateDOTSkill("圣水", 8, 4));
            simon.AddSkill(Skill.CreateHealSkill("吃鸡腿", 50));
            simon.AddSkill(Skill.CreateInvincibleSkill("无敌", 3));
            return(simon);
        }
Exemple #3
0
        static Character CreateSimon()
        {
            Character simon = new Character();

            simon.name = "西蒙";
            simon.hp   = 100;
            simon.AddSkill(Skill.CreateDamageSkill("出拳", 100));//创建技能,然后添加进技能列表
            simon.AddSkill(Skill.CreateDOTSkill("圣水A", 10, 2));
            simon.AddSkill(Skill.CreateDOTSkill("圣水B", 9, 3));
            simon.AddSkill(Skill.CreateDOTSkill("圣水C", 8, 4));
            simon.AddSkill(Skill.CreateExecuteSkill("处决", 30));
            simon.AddSkill(Skill.CreateHealSkill("吃鸡腿", 50));
            return(simon);
        }