Lower Dodge Edit/Fix
Code:
Index: src/arcemu-world/Player.cpp
===================================================================
--- src/arcemu-world/Player.cpp (revision 3547)
+++ src/arcemu-world/Player.cpp (working copy)
@@ -5317,7 +5317,7 @@
// Dodge
tmp = GetDodgeChance();
tmp += defence_contribution;
- tmp = min( max ( tmp, 0.0f ), 95.0f );
+ tmp = min( max ( tmp, 0.0f ), 65.0f );
SetFloatValue( PLAYER_DODGE_PERCENTAGE, tmp );
// Block
Allow Flying Mounts in Azeroth
Code:
Index: src/arcemu-world/Unit.cpp
===================================================================
--- src/arcemu-world/Unit.cpp (revision 3547)
+++ src/arcemu-world/Unit.cpp (working copy)
@@ -4220,7 +4220,7 @@
return;
}
- if(m_mapId!=530 && (m_mapId!=571 || (IsPlayer() && !TO_PLAYER(this)->HasSpellwithNameHash(SPELL_HASH_COLD_WEATHER_FLYING))))
+ if(m_mapId!=530 && (m_mapId!=571) && (m_mapId!=0 && (m_mapId!=1) || (IsPlayer() && !TO_PLAYER(this)->HasSpellwithNameHash(SPELL_HASH_COLD_WEATHER_FLYING))))
// can't use flying auras in non-outlands or non-northrend (northrend requires cold weather flying)
{
for( uint32 i = 0; i < 3; ++i )
Update from level 70 to 80
Code:
Index: src/arcemu-world/BattlegroundMgr.cpp
===================================================================
--- src/arcemu-world/BattlegroundMgr.cpp (revision 3547)
+++ src/arcemu-world/BattlegroundMgr.cpp (working copy)
@@ -418,7 +418,7 @@
int CBattlegroundManager::CreateArenaType(int type, Group * group1, Group * group2)
{
- Arena * ar = ((Arena*)CreateInstance(type, LEVEL_GROUP_70));
+ Arena * ar = ((Arena*)CreateInstance(type, LEVEL_GROUP_80));
if (ar == NULL)
{
sLog.outError("BattlegroundMgr", "%s (%u): Couldn't create Arena Instance", __FILE__, __LINE__);
Index: src/arcemu-world/BattlegroundMgr.h
===================================================================
--- src/arcemu-world/BattlegroundMgr.h (revision 3547)
+++ src/arcemu-world/BattlegroundMgr.h (working copy)
@@ -212,7 +212,7 @@
#define MAX_LEVEL_GROUP 9
#define MINIMUM_PLAYERS_ON_EACH_SIDE_FOR_BG 1
#define MAXIMUM_BATTLEGROUNDS_PER_LEVEL_GROUP 50
-#define LEVEL_GROUP_70 8
+#define LEVEL_GROUP_80 8
class CBattlegroundManager : public Singleton<CBattlegroundManager>, public EventableObject