示例#1
0
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player = skill.GetPlayer();

                skill.SetRatio(3.0f);
                player.SetPerform(1);
            }
示例#2
0
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player      = skill.GetPlayer();
                int            skill_level = skill.GetLevel();

                skill.SetRatio((skill_level * 0.1f + 1.0f));
                player.SetPerform(1);
            }
示例#3
0
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player      = skill.GetPlayer();
                int            skill_level = skill.GetLevel();

                skill.SetRatio((norm((skill_level / 60)) * 0.12f + (norm(skill_level / 30) * 0.12f + 1.0f)));
                skill.SetPlus(((11 * skill_level)));
                player.SetPerform(1);
            }
示例#4
0
文件: Skill880.cs 项目: yi-zhu/gnp
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player      = skill.GetPlayer();
                int            skill_level = skill.GetLevel();

                skill.SetRatio(1.0f);
                skill.SetPlus(((zrand(200) / 100.0f + 1.0f) * ((40 * skill_level))));
                player.SetPerform(1);
            }
示例#5
0
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player      = skill.GetPlayer();
                int            skill_level = skill.GetLevel();

                skill.SetRatio((skill_level * 0.05f + 1.0f));
                skill.SetCrithurt((skill_level * 0.15f));
                skill.SetPlus(((86 * skill_level) + (skill_level * (skill_level * 4.2f)) + 785.0f));
                player.SetPerform(1);
            }
示例#6
0
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player      = skill.GetPlayer();
                int            skill_level = skill.GetLevel();

                skill.SetRatio(((skill_level + 1)));
                player.SetHp(1.0f);
                player.SetDie(true);
                player.SetPerform(1);
            }
示例#7
0
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player       = skill.GetPlayer();
                int            player_level = player.GetLevel();
                int            skill_level  = skill.GetLevel();

                skill.SetRatio((D2INT(player_level / (12 - skill_level)) * 0.01f + (skill_level * 0.01f + 1.0f)));
                skill.SetPlus(((10 * skill_level)));
                player.SetPerform(1);
            }
示例#8
0
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player      = skill.GetPlayer();
                int            skill_level = skill.GetLevel();
                int            skill_t0    = skill.GetT0();

                skill.SetRatio((skill_t0 * 0.01f + 1.0f));
                skill.SetPlus(((10 * skill_level + 133)));
                player.SetPerform(1);
            }
示例#9
0
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player       = skill.GetPlayer();
                int            player_maxhp = player.GetMaxhp();
                int            skill_level  = skill.GetLevel();

                skill.SetRatio(0.0f);
                skill.SetPlus((player_maxhp * (skill_level * 0.01f)));
                player.SetDie(true);
                player.SetPerform(1);
            }
示例#10
0
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player       = skill.GetPlayer();
                int            player_hp    = player.GetHp();
                int            player_dodge = player.GetDodge();

                skill.SetRatio(0.0f);
                skill.SetPlus((player_hp * (player_dodge * 0.05f + 0.05f)));
                player.SetDie(true);
                player.SetPerform(1);
            }
示例#11
0
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player        = skill.GetPlayer();
                int            player_maxatk = player.GetMaxatk();
                int            skill_level   = skill.GetLevel();
                int            skill_t0      = skill.GetT0();

                player.SetVar1(player_maxatk);
                skill.SetRatio((skill_t0 * 0.04f + ((4 * (skill_level + ((2 * skill_level - 30) * (skill_level / 15)))) * 0.01f + 1.0f)));
                skill.SetPlus(((3 * skill_level * skill_level + (21 * skill_level) + 375)));
                player.SetPerform(0);
            }
示例#12
0
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player      = skill.GetPlayer();
                int            player_hp   = player.GetHp();
                int            player_mp   = player.GetMp();
                int            skill_level = skill.GetLevel();

                skill.SetRatio(1.0f);
                skill.SetPlus(((player_mp + player_hp) * (skill_level * 0.15f)));
                player.SetMp(0.0f);
                player.SetHp(1.0f);
                player.SetPerform(1);
            }
示例#13
0
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player       = skill.GetPlayer();
                int            player_level = player.GetLevel();
                int            player_def   = player.GetDef();
                int            skill_level  = skill.GetLevel();
                int            skill_t0     = skill.GetT0();
                int            skill_t1     = skill.GetT1();

                skill.SetRatio((D2INT(player_level / (9 - skill_level)) * 0.01f + (skill_level * 0.06f + (skill_t0 * 0.1f + 1.0f))));
                skill.SetPlus((player_def * (skill_t1 * 0.03f) + ((215 * skill_level))));
                player.SetPerform(1);
            }