[Discovery] Good Core Edit for PvP servers or above 70 servers menu

These ads disappear when you log in.

Results 1 to 2 of 2
  1. #1
    mager1794's Avatar Lieutenant Commander
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)

    [Discovery] Good Core Edit for PvP servers or above 70 servers

    ok well the undead have the spell canabalize and while going through my player.cpp in the core i found it and im gonna show where to edit at incase you want then to get more than 100 health from it
    open player.cpp

    search EventCannibalize
    or line 5168

    Code:
    void Player::EventCannibalize(uint32 amount)
    {
     uint32 amt = (GetUInt32Value(UNIT_FIELD_MAXHEALTH)*amount)/100;
     
     uint32 newHealth = GetUInt32Value(UNIT_FIELD_HEALTH) + amt;
     
     if(newHealth <= GetUInt32Value(UNIT_FIELD_MAXHEALTH))
      SetUInt32Value(UNIT_FIELD_HEALTH, newHealth);
     else
      SetUInt32Value(UNIT_FIELD_HEALTH, GetUInt32Value(UNIT_FIELD_MAXHEALTH));
     cannibalizeCount++;
     if(cannibalizeCount == 5)
      SetUInt32Value(UNIT_NPC_EMOTESTATE, 0);
     WorldPacket data(SMSG_PERIODICAURALOG, 38);
     data << GetNewGUID();       // caster guid
     data << GetNewGUID();       // target guid
     data << (uint32)(20577);    // spellid
     data << (uint32)1;       // unknown?? need resource?
     data << (uint32)FLAG_PERIODIC_HEAL;  // aura school
     data << amt;       // amount of done to target / heal / damage
     data << (uint32)0;       // unknown in some sniff this was 0x0F
     SendMessageToSet(&data, true);
    }
    simply edit this line to what ever you wish <edit wahts in red>

    Code:
    uint32 amt = (GetUInt32Value(UNIT_FIELD_MAXHEALTH)*amount)/100;
    im sorry thats it guide like i just didn't really feel this should be in guides section
    Lunar Gaming - Reaching For The Stars

    These ads disappear when you log in.

  2. #2
    Hellgawd's Avatar Account not activated by Email
    Reputation
    710
    Join Date
    Jun 2007
    Posts
    2,481
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Alright, first off, no clue if this would work or not so I can't comment on that. CBA to recompile my core just to try it.
    Secondly, it really should be in the guides section. A moderator might just move it.
    Thirdly, excellent! This would be a great addition to any funserver. +3Rep.
    Cheers,
    Hellgawd

Similar Threads

  1. [Misc] Looking for a good pvp server
    By Kwazi in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 12-08-2011, 11:35 PM
  2. [Misc] Any good private server for PVP? (Instant 85+gear)
    By cellydy in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 06-20-2011, 03:17 PM
  3. is arcemu a good core for a large server?
    By Watercycle in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 03-26-2009, 08:26 PM
  4. Looking for PvP server like WoM or WoWScape!
    By nuffed in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 01-11-2009, 02:25 PM
  5. [Druid] Good Boomkin Spec for PVP and PVE
    By berryman13 in forum WoW UI, Macros and Talent Specs
    Replies: 0
    Last Post: 10-12-2008, 12:18 PM
All times are GMT -5. The time now is 01:41 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search