예제 #1
0
파일: Skill4270.cs 프로젝트: amusegame/sdk
        public override bool StateAttack(GSkill skill)
        {
            GPlayerWrapper player       = skill.GetPlayer();
            GPlayerWrapper victim       = skill.GetVictim();
            int            player_var1  = player.GetVar1();
            int            player_var11 = player.GetVar11();
            int            player_var16 = player.GetVar16();
            int            skill_level  = skill.GetLevel();

            /*
             * victim.SetProbability(120.0f);
             * victim.SetTime(9000.0f);
             * if ( player_var11 == 68 )
             * {
             * d = (10 * player_var16 + skill_level + 1);
             * }
             * else
             * {
             * d = (10 * player_var16 + skill_level);
             * }
             * victim.SetRatio(d);
             * victim.SetBuffid(1);
             * victim.SetValue(3336.0f);
             * victim.SetDelaycast(true);
             */
            return(true);
        }