Implement No Fly Zone using Spell, by Spp. Needs db support. Closes #494
--HG-- branch : trunk
This commit is contained in:
1 parent
b7934fc245
commit
d7262a6298
12 files changed
+68
-81
No files matched your search
+2
-2
@@ -6762,7 +6762,7 @@ void Player::DuelComplete(DuelCompleteType type)
|
||||
duel->opponent->AttackStop();
|
||||
}
|
||||
break;
|
||||
case DUEL_WON:
|
||||
case DUEL_WON:
|
||||
GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_LOSE_DUEL, 1);
|
||||
if (duel->opponent)
|
||||
{
|
||||
@@ -21177,7 +21177,7 @@ void Player::HandleFall(MovementInfo const& movementInfo)
|
||||
DEBUG_LOG("FALLDAMAGE z=%f sz=%f pZ=%f FallTime=%d mZ=%f damage=%d SF=%d" , movementInfo.z, height, GetPositionZ(), movementInfo.fallTime, height, damage, safe_fall);
|
||||
}
|
||||
}
|
||||
RemoveAura(61243); // No fly zone - Parachute
|
||||
RemoveAura(44795); // No fly zone - Parachute
|
||||
}
|
||||
|
||||
void Player::UpdateAchievementCriteria( AchievementCriteriaTypes type, uint32 miscvalue1/*=0*/, uint32 miscvalue2/*=0*/, Unit *unit/*=NULL*/, uint32 time/*=0*/ )
|
||||
|
||||
Reference in new issue
Block a user