Welcome to AC Web.
Results 1 to 3 of 3
  1. #1

    Different spell damage scalings in PvP and PvE


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Hey there. I am currently working on my TrinityCore(latest rev.) server.

    I was wondering if there is any way to differ between spell scalings in PvP and PvE.

    e.g.
    A player hits another player with no resilience and no resistance for 1,000 damage with his Frostbolt.
    The same player hits a boss in a dungeon with no resilience and no resistance for 10,000 damage with his Frostbolt.

    I know that there are different spell scalings in Legion, but I am not sure if there is/was in WOTLK.

    Thanks in advance.

    - - - Updated - - -

    I can't even bump this properly? Meh.

    Any help? Anybody?
    Last edited by rofleboon; 02-15-2018 at 10:31 AM.

  2. #2
    There is no way to differ pvp from pve as far as I know, however you could apply a spell on either the player or the boss to make the player deal more damage.

    Either via spell_area for the player or smart scripts if for the boss.

    Kind regards,

    Malda

  3. #3


    Join Date
    Nov 2015
    Location
    Library of Elchea
    Posts
    563

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    There should be a method in Unit.cpp, like Unit::SpellDamageDone or something like that.
    You could potentially edit it to do a check and see if both the caster and the victim are players, and reduce the damage done by 10 in such a case.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •