Exemple #1
0
        public override bool StateAttack(GSkill skill)
        {
            GPlayerWrapper player      = skill.GetPlayer();
            GPlayerWrapper victim      = skill.GetVictim();
            int            player_var1 = player.GetVar1();
            int            player_var2 = player.GetVar2();
            int            player_var3 = player.GetVar3();

            victim.SetProbability(120.0f);
            victim.SetTime(20000.0f);
            victim.SetAmount(99.0f);
            victim.SetValue(((player.GetBufflevel(4260) * player_var2)));
            victim.SetSubantidizzy2(true);
            victim.SetProbability(((10 * player_var3 + player_var1)));
            victim.SetTime(2000.0f);
            victim.SetDizzy(true);
            victim.SetProbability(120.0f);
            victim.SetTime(20000.0f);
            victim.SetAmount(10.0f);
            victim.SetSeed(true);
            return(true);
        }