possible to retrieve target hit box? menu

User Tag List

Results 1 to 5 of 5
  1. #1
    NitroGlycerine's Avatar Member
    Reputation
    3
    Join Date
    May 2009
    Posts
    45
    Thanks G/R
    5/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    possible to retrieve target hit box?

    I am looking for a way to determine the hitbox size of the unit you're targeting to determine if spells are in range. For normal spells you can check if they are in range, but for AoE spells this is not possible as far as I know. So for the AoE spells you need the hitox size I think.

    Anyone has been able to retrieve hitbox sizes?

    Thanks in advance!

    possible to retrieve target hit box?
  2. #2
    namreeb's Avatar Legendary

    Reputation
    668
    Join Date
    Sep 2008
    Posts
    1,029
    Thanks G/R
    8/222
    Trade Feedback
    0 (0%)
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    There are a few different radii that may be involved here, but I believe they are all in the unit descriptors. I think what you're looking for is either combat reach or radius.

  3. Thanks NitroGlycerine (1 members gave Thanks to namreeb for this useful post)
  4. #3
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1515
    Join Date
    May 2008
    Posts
    2,433
    Thanks G/R
    81/336
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I'm having some déjà vu right now

    Originally Posted by namreeb View Post
    I believe that 'melee range' which is what hitbox is usually used to calculate is a function of two variables: the combat reach of the attacker and the bounding radius of the victim. If memory serves, both values are in the object descriptors, and are not necessarily the same values.
    Never served a purpose for me personally, but I assume the same goes for AoE spells.

  5. Thanks NitroGlycerine (1 members gave Thanks to Jadd for this useful post)
  6. #4
    NitroGlycerine's Avatar Member
    Reputation
    3
    Join Date
    May 2009
    Posts
    45
    Thanks G/R
    5/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks guys! I'll have a look at how I can translate those descriptors in a hitbox size.

  7. #5
    NitroGlycerine's Avatar Member
    Reputation
    3
    Join Date
    May 2009
    Posts
    45
    Thanks G/R
    5/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found out some things about the spell ranges so I thought I'd share. Please let me know if you think there's a mistake, or if it is not correct for certain NPCs.

    Combatreach is the combatreach which you can retrieve from the unit descriptors.


    Melee range = max(5,combatreach_player + combatreach_target + 1.3)

    Melee range is never smaller than 5, but can be larger. Add the combatreaches of player and target together and add 1.3 (apparently 1.3y is the real range of the autoattack spell).

    Spell range = spell_range_as_indicated_in_tooltip + combactreach_player + combatreach_target

    AoE spell range = aoe_spell_range_as_indicated_in_tooltip + combactreach_target

    This is for AoE spells that are originating from the player location.

Similar Threads

  1. Question: Target Unit By GUID in Addons, Possible?
    By zys924 in forum WoW Memory Editing
    Replies: 14
    Last Post: 12-30-2009, 12:57 PM
  2. [Modelshift] Druid cat form hit box fix (nelf and tauren)
    By kanezfan in forum World of Warcraft Model Editing
    Replies: 23
    Last Post: 04-20-2008, 05:02 PM
  3. cat form hit box manipulation
    By kanezfan in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 03-20-2008, 01:23 PM
All times are GMT -5. The time now is 12:33 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search