Здравствуйте , переписал под ласт реву Trinitycore Фикс спела: http://db.uawow.com/?spell=18756 Т.к. был удивлен , что до сих пор не работает этот талант в оригинальных сорцах Trinity В src/server/game/Spells/Spell.cpp :
if (m_originalCaster->GetOwner()->HasAura(18754)) durationadd += float(1.5*IN_MILLISECONDS*0.22); else if (m_originalCaster->GetOwner()->HasAura(18755)) durationadd += float(1.5*IN_MILLISECONDS*0.44); else if (m_originalCaster->GetOwner()->HasAura(18756)) durationadd += float(1.5*IN_MILLISECONDS*0.66);
if (durationadd) { switch (m_diminishLevel) { case DIMINISHING_LEVEL_1: break; // lol, we lost 1 second here case DIMINISHING_LEVEL_2: duration += 1000; mod = 0.5f; break; case DIMINISHING_LEVEL_3: duration += 1000; mod = 0.25f; break; case DIMINISHING_LEVEL_IMMUNE: { m_spellAura->Remove(); return SPELL_MISS_IMMUNE; } default: break; } durationadd *= mod; duration += int32(durationadd); } }
В src/server/game/Spells/SpellMgr.cpp
case 18754: // Improved succubus fix talented spellInfo->Effects[EFFECT_0].ApplyAuraName = SPELL_AURA_ADD_FLAT_MODIFIER; spellInfo->Effects[EFFECT_0].BasePoints = -1.5*IN_MILLISECONDS*0.22; // cast time of seduction by 22% spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_UNIT_CASTER); break; case 18755: spellInfo->Effects[EFFECT_0].ApplyAuraName = SPELL_AURA_ADD_FLAT_MODIFIER; spellInfo->Effects[EFFECT_0].BasePoints = -1.5*IN_MILLISECONDS*0.44; // cast time of seduction by 44% spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_UNIT_CASTER); break; case 18756: spellInfo->Effects[EFFECT_0].ApplyAuraName = SPELL_AURA_ADD_FLAT_MODIFIER; spellInfo->Effects[EFFECT_0].BasePoints = -1.5*IN_MILLISECONDS*0.66; // cast time of seduction by 66% spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_UNIT_CASTER); break;