Beispiel #1
0
        static Character CreateSkeleton()
        {
            Character monster = new Character();

            monster.name = "骷髅兵";
            monster.hp   = 50;
            monster.AddSkill(Skill.CreateDamageSkill("扔骨头", 20));
            monster.AddSkill(Skill.CreateHealSkill("死亡之舞", 30));
            return(monster);
        }
Beispiel #2
0
        static Character CreateSkeletonKing()
        {
            Character monster = new Character();

            monster.name = "骷髅王";
            monster.hp   = 100;
            monster.AddSkill(Skill.CreateDamageSkill("扔骨头", 50));
            monster.AddSkill(Skill.CreateHealSkill("死亡之舞", 80));
            return(monster);
        }
Beispiel #3
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);
        }
Beispiel #4
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);
        }