Ejemplo n.º 1
0
        public override bool BlessMe(GSkill skill)
        {
            GPlayerWrapper player         = skill.GetPlayer();
            GPlayerWrapper victim         = skill.GetVictim();
            int            skill_level    = skill.GetLevel();
            int            skill_t0       = skill.GetT0();
            int            skill_t1       = skill.GetT1();
            int            skill_t3       = skill.GetT3();
            int            skill_charging = skill.GetCharging();

            /*
             * victim.SetProbability(120.0f);
             * victim.SetTime(((1000 * skill_t3 + (10000 * (skill_charging / 0x12C0) + (5000 * skill_t0 + (10000 * (skill_level + player.GetCyclemembercnt())))) - 10000)));
             * victim.SetRatio(((player.GetCyclemembercnt() + (skill_t1 + skill_level) - 1)));
             * victim.SetBuffid(0);
             * victim.SetAmount(3604.0f);
             * victim.SetValue(2.0f);
             * victim.SetCycle(true);
             * victim.SetTime(900.0f);
             * victim.SetRatio(0.0f);
             * victim.SetAmount(0.0f);
             * victim.SetValue(0.0f);
             * victim.SetEvilaura(true);
             * if ( zrand(100) >= 2 * player.GetSkilllevel(3759) )
             * d = 218.0f;
             * else
             * victim.SetRatio(3449.0f);
             * victim.SetAmount(218.0f);
             * victim.SetValue(218.0f);
             * victim.SetClearcooldown(true);
             */
            return(true);
        }