*Fix the bug of rockbiter.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-30 18:10:11 -06:00
parent d088021a50
commit bf3f187785
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -3820,7 +3820,7 @@ void Spell::EffectEnchantItemTmp(uint32 i)
// Shaman Rockbiter Weapon
if(i==0 && m_spellInfo->Effect[1]==SPELL_EFFECT_DUMMY)
{
int32 enchnting_damage = m_currentBasePoints[1];//+1;
int32 enchnting_damage = damage;//+1;
// enchanting id selected by calculated damage-per-sec stored in Effect[1] base value
// with already applied percent bonus from Elemental Weapons talent
+1
View File
@@ -152,6 +152,7 @@ WaypointMovementGenerator<Creature>::Update(Creature &unit, const uint32 &diff)
{
if(StopedByPlayer)
{
assert(node);
InitTraveller(unit,node);
i_destinationHolder.SetDestination(traveller, node.x, node.y, node.z);
i_nextMoveTime.Reset(i_destinationHolder.GetTotalTravelTime());