[Core-Edit] No Ressurection Sickness menu

User Tag List

Results 1 to 10 of 10
  1. #1
    namelessgnome's Avatar Contributor
    Reputation
    108
    Join Date
    May 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Core-Edit] No Ressurection Sickness

    No Ressurection Sickness
    This is a rather simple core edit, but I think it will help many funserver owners and bring an end to having your Teleport NPCs offering to remove ress sickness.

    I created a patch for Aspire/Hearthstone:
    diff private pastebin - collaborative debugging tool
    If the patch does not work for you try applying it manually (see the Arc section)

    But what about arc-emu?
    ArcEmu's code is just the same, so all we need to do is go to NPCHandler.cpp
    and find WorldSession::HandleSpiritHealerActivateOpcode

    replace the function with this:
    Code:
    	if(!_player->IsInWorld() ||!_player->isDead())
    		return;
    
    		//When revived by spirit healer, set health/mana at 50%
    		_player->m_resurrectHealth = _player->GetUInt32Value(UNIT_FIELD_MAXHEALTH)/2;
    		_player->m_resurrectMana = _player->GetUInt32Value(UNIT_FIELD_MAXPOWER1)/2;
    
    		_player->ResurrectPlayer(NULLPLR);
    It does remove the 25% Durability damage that comes with spirit resssing
    Last edited by namelessgnome; 07-07-2009 at 06:21 AM.

    [Core-Edit] No Ressurection Sickness
  2. #2
    orangepig's Avatar Contributor
    Reputation
    129
    Join Date
    Jul 2009
    Posts
    225
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks, that was just what I needed but does it remove durability?

  3. #3
    Supah's Avatar Member
    Reputation
    33
    Join Date
    Apr 2008
    Posts
    235
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    haha i asked about this earlier, did ya get the idea from helpin me ?

  4. #4
    Hellgawd's Avatar Account not activated by Email
    Reputation
    710
    Join Date
    Jun 2007
    Posts
    2,480
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by orangepig View Post
    thanks, that was just what I needed but does it remove durability?

    No, this code won't do that.
    However, I am not sure whether the code that does that normally is usually contained here or within some other part of the core / client, so it might still remove your durability (but this codebit here, won't.)

  5. #5
    namelessgnome's Avatar Contributor
    Reputation
    108
    Join Date
    May 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Supha
    I sure did

  6. #6
    wowhelp's Avatar Member
    Reputation
    5
    Join Date
    Oct 2007
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It will only remove the spell debuff effect and not the durability costs.

  7. #7
    namelessgnome's Avatar Contributor
    Reputation
    108
    Join Date
    May 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It does remove the 25% Durability damage that comes with spirit resssing but not the 10% from dying.

    The following lines are removed
    Code:
    //25% duralbility loss
                  _player->DeathDurabilityLoss(0.25f);
    Last edited by namelessgnome; 07-07-2009 at 06:21 AM.

  8. #8
    paid's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    nice thanks

  9. #9
    colincancer's Avatar Active Member
    Reputation
    63
    Join Date
    Dec 2007
    Posts
    509
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sweet thanks mate, I might use this
    #JODYS'WATCHiN

  10. #10
    alj03's Avatar Contributor
    Reputation
    91
    Join Date
    Feb 2008
    Posts
    1,103
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I guess this would help out some people. +Rep.

    Edit: Got to spread.
    Death to all but Metal.

Similar Threads

  1. [Updating] Materful Ascent Core Edits
    By SectorSeven in forum World of Warcraft Emulator Servers
    Replies: 39
    Last Post: 06-07-2008, 03:53 PM
  2. need help with 2 core edits
    By z3ro379 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 05-30-2008, 06:33 PM
  3. Core edits? +2rep if help
    By Broken Shadows in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 05-08-2008, 01:51 PM
  4. Core edits that are asked a lot for lately [All in 1 Post]
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 21
    Last Post: 03-03-2008, 05:50 PM
  5. Changing .announce color (no core edits)
    By Le Froid in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 01-07-2008, 04:44 PM
All times are GMT -5. The time now is 03:40 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search