(spell) Invocar Gargola (dk unholy)

Issue #871 resolved
Raul created an issue

la skill http://es.wowhead.com/spell=49206/invocar-gargola esta bug , la gargola ademas de traer un moco de hp, pega 100 puntos , si 100 puntos !!!! , si el woltk pegaba 1200-1800

Comments (3)

  1. grbg

    no se como esta actualmente, pero esto es lo que conseguí, había visto igual que decían que era 0.3, pero no tengo links que lo confirmen

    case 27829: // Ebon Gargoyle
                    {
                        if (!pInfo)
                        {
                             SetCreateMana(28 + 10*petlevel);
    -                        SetCreateHealth(28 + 30*petlevel);
    +                        SetCreateHealth(1);
    + SetModifierValue(UNIT_MOD_STAT_STAMINA, BASE_VALUE, float(m_owner->GetStat(STAT_STAMINA)) * 0.2f);
    

    http://pastebin.com/wQXUXYG0

  2. grbg
     case 27829: // Ebon Gargoyle
                    {
                        if (!pInfo)
                        {
                            SetCreateMana(28 + 10*petlevel);
                            SetCreateHealth(28 + 30*petlevel);
                            SetModifierValue(UNIT_MOD_STAT_STAMINA, BASE_VALUE, float(m_owner->GetStat(STAT_STAMINA)) * 0.3f);  //  Bonus Stamina (30% of player stamina)
                        }
                        // convert DK melee haste into the gargoyles spell haste, should it be like that?
                        float ownerHaste = ((Player*)m_owner)->GetRatingBonusValue(CR_HASTE_MELEE);
                        ApplyPercentModFloatValue(UNIT_MOD_CAST_SPEED, ownerHaste, false);
    
                        // also make gargoyle benefit from haste auras, like unholy presence
                        int meleeHaste = ((Player*)m_owner)->GetTotalAuraModifier(SPELL_AURA_MOD_MELEE_HASTE);
                        ApplyCastTimePercentMod(meleeHaste, true);
    
                        SetBonusDamage(int32(m_owner->GetTotalAttackPowerValue(BASE_ATTACK) * 0.33f));
                        SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(petlevel - (petlevel / 4)));
                        SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel + (petlevel / 4)));
                        break;
                    }
    

    ese es el otro código que encontré. ademas considera la relación que tiene con el haste del dk

  3. Log in to comment