Exemple #1
0
            public override void Calculate(GSkill skill)
            {
                GPlayerWrapper player           = skill.GetPlayer();
                int            player_damagemin = player.GetMinatk();
                int            player_damagemax = player.GetMaxatk();
                int            player_damage    = (player_damagemax - player_damagemin) / 2;
                int            skill_level      = skill.GetLevel();

                skill.SetPlus((skill_level + 5) / 100.0f * player_damage + (36 * skill_level + 188));
                player.SetPerform(1);
            }