mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
Quests and combopoints should work once again.
This commit is contained in:
parent
50bed7c7da
commit
a4a56adf3d
4 changed files with 23 additions and 33 deletions
|
|
@ -384,7 +384,7 @@ m_isRemovedOnShapeLost(true), m_in_use(0), m_deleted(false)
|
|||
|
||||
m_spellProto = spellproto;
|
||||
|
||||
m_currentBasePoints = currentBasePoints ? *currentBasePoints : m_spellProto->EffectBasePoints[eff];
|
||||
m_currentBasePoints = currentBasePoints ? *currentBasePoints : m_spellProto->EffectBasePoints[eff] + 1;
|
||||
|
||||
m_isPassive = IsPassiveSpell(GetId());
|
||||
m_positive = IsPositiveEffect(GetId(), m_effIndex);
|
||||
|
|
@ -397,7 +397,7 @@ m_isRemovedOnShapeLost(true), m_in_use(0), m_deleted(false)
|
|||
if(!caster)
|
||||
{
|
||||
m_caster_guid = target->GetGUID();
|
||||
damage = m_currentBasePoints+1; // stored value-1
|
||||
damage = m_currentBasePoints; // stored value-1
|
||||
m_maxduration = target->CalculateSpellDuration(m_spellProto, m_effIndex, target);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue