Exemplo n.º 1
0
        public override bool StateAttack(GSkill skill)
        {
            GPlayerWrapper player       = skill.GetPlayer();
            GPlayerWrapper victim       = skill.GetVictim();
            int            player_var1  = player.GetVar1();
            int            skill_level  = skill.GetLevel();
            int            skill_iscrit = skill.GetIscrit();

            /*
             * victim.SetProbability(((2 * skill_level)));
             * victim.SetTime(3000.0f);
             * victim.SetRatio(0.1f);
             * victim.SetBuffid(2);
             * victim.SetWeak(true);
             * if ( skill_iscrit <= 0 )
             * v16 = 0.0f;
             * else
             * victim.SetProbability(120.0f);
             * victim.SetTime(6000.0f);
             * victim.SetRatio((player_var1 * 0.01f));
             * victim.SetBuffid(1);
             * victim.SetIncfatalhurt(true);
             */
            return(true);
        }