Jump to content

Mana And Hp Regen 70+ Patch [not For Svn]


Recommended Posts

  • 38 years later...

Ok, I know this is a complete hack. but it will allow those who want to play post 70+ to have some hp and mana regen.

This is not for SVN and is not correct. Just fair (I think).

what it does?:

adds a regen formula to the hp and mana regen functions for level 70+ based on sta and spirit for HP, and based on int and spirit for mana.

patch file for 6555:

http://filebeam.com/52618f5c2e7d5ad0b1b3137486143de9

enjoy.

[edit] Cleaned up patch.

Link to comment
Share on other sites

Nice !

however, you should clean your patch :

this..

 @@ -338,7 +338,7 @@
        m_restTime = 0;
        m_deathTimer = 0;
        m_deathExpireTime = 0;
- 
+         
        m_swingErrorMsg = 0;

        m_DetectInvTimer = 1000;
@@ -1051,8 +1051,9 @@
                                RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_ENTER_PVP_COMBAT);
                        }
                }
-        }
+        }

+
        if(HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_RESTING))
        {
                if(roll_chance_i(3) && GetTimeInnEnter() > 0)             //freeze update

and this...

    void Player::ApplyRatingMod(CombatRating cr, int32 value, bool apply)
@@ -16554,13 +16572,11 @@
{
        if(BattleGround *bg = GetBattleGround())
        {
-                bool need_debuf = bg->isBattleGround() && (bg->GetStatus() == STATUS_IN_PROGRESS) && sWorld.getConfig(CONFIG_BATTLEGROUND_CAST_DESERTER);
+                if(bg->isBattleGround() && (bg->GetStatus() == STATUS_IN_PROGRESS) && sWorld.getConfig(CONFIG_BATTLEGROUND_CAST_DESERTER))
+                        CastSpell(this, 26013, true);                                     // Deserter

                bg->RemovePlayerAtLeave(GetGUID(), teleportToEntryPoint, true);
-
-                // call after remove to be sure that player resurrected for correct cast
-                if(need_debuf)
-                        CastSpell(this, 26013, true);                                     // Deserter
+                m_bgAfkReporter.clear();
        }
}

...are useless , right?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use