예제 #1
0
        public override bool StateAttack(GSkill skill)
        {
            GPlayerWrapper victim         = skill.GetVictim();
            float          skill_tianhua1 = skill.GetTianhua1();

            victim.SetTime((skill_tianhua1 * 5000.0f));
            victim.SetRatio((skill_tianhua1 * 0.3f));
            victim.SetBuffid(1);
            victim.SetDecskilldamage(true);
            return(true);
        }
예제 #2
0
        public override bool StateAttack(GSkill skill)
        {
            GPlayerWrapper player         = skill.GetPlayer();
            GPlayerWrapper victim         = skill.GetVictim();
            int            player_res3    = player.GetRes3();
            float          skill_tianhua1 = skill.GetTianhua1();

            victim.SetProbability(((player_res3 + 10)));
            victim.SetTime((skill_tianhua1 * 5000.0f));
            victim.SetWrap(true);
            return(true);
        }
예제 #3
0
        public override bool StateAttack(GSkill skill)
        {
            GPlayerWrapper victim         = skill.GetVictim();
            float          skill_tianhua1 = skill.GetTianhua1();

            victim.SetProbability(10.0f);
            victim.SetTime((skill_tianhua1 * 5000.0f));
            victim.SetRatio(0.30000001f);
            victim.SetBuffid(1);
            victim.SetDecdrugeffect(true);
            return(true);
        }
예제 #4
0
파일: Skill2910.cs 프로젝트: yi-zhu/gnp
        public override bool StateAttack(GSkill skill)
        {
            GPlayerWrapper victim         = skill.GetVictim();
            float          skill_tianhua1 = skill.GetTianhua1();

            victim.SetProbability(120.0f);
            victim.SetTime((skill_tianhua1 * 6000.0f));
            victim.SetRatio(0.60000002f);
            victim.SetBuffid(1);
            victim.SetSlow(true);
            return(true);
        }
예제 #5
0
        public override bool StateAttack(GSkill skill)
        {
            GPlayerWrapper player         = skill.GetPlayer();
            GPlayerWrapper victim         = skill.GetVictim();
            int            player_res5    = player.GetRes5();
            float          skill_tianhua1 = skill.GetTianhua1();

            victim.SetProbability((skill_tianhua1 * 10.0f + player_res5));
            victim.SetTime((skill_tianhua1 * 5000.0f));
            victim.SetValue(0.0f);
            victim.SetSleep(true);
            return(true);
        }
예제 #6
0
        public override bool StateAttack(GSkill skill)
        {
            GPlayerWrapper player         = skill.GetPlayer();
            GPlayerWrapper victim         = skill.GetVictim();
            int            player_res6    = player.GetRes6();
            float          skill_tianhua1 = skill.GetTianhua1();

            victim.SetProbability(((player_res6 + 10)));
            victim.SetTime((skill_tianhua1 * 5000.0f));
            victim.SetRatio(0.60000002f);
            victim.SetBuffid(1);
            victim.SetSlow(true);
            return(true);
        }
예제 #7
0
파일: Skill2910.cs 프로젝트: yi-zhu/gnp
        public override bool StateAttack(GSkill skill)
        {
            GPlayerWrapper player         = skill.GetPlayer();
            GPlayerWrapper victim         = skill.GetVictim();
            int            player_maxmp   = player.GetMaxmp();
            float          skill_tianhua1 = skill.GetTianhua1();

            victim.SetProbability(120.0f);
            victim.SetTime(6000.0f);
            victim.SetBuffid(1);
            victim.SetAmount((skill_tianhua1 * player_maxmp));
            victim.SetValue(0.0f);
            victim.SetMpleak(true);
            return(true);
        }