Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

[Confirmed] Cold Feet brake range is 25 units too small.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Confirmed] Cold Feet brake range is 25 units too small.

    Dota 1: 765 initial point-unit center

    Spoiler: 

    function Func3734 takes nothing returns boolean
    local trigger loc_trigger01=GetTriggeringTrigger()
    local integer loc_integer01=GetHandleId(loc_trigger01)
    local unit loc_unit01=(LoadUnitHandle(hashtable001,(loc_integ er01),(2)))
    local unit loc_unit02=(LoadUnitHandle(hashtable001,(loc_integ er01),(17)))
    local real loc_real01=(LoadReal(hashtable001,(loc_integer01), (6)))
    local real loc_real02=(LoadReal(hashtable001,(loc_integer01), (7)))
    local integer loc_integer02=(LoadInteger(hashtable001,(loc_integ er01),(5)))
    local unit loc_unit03
    local real loc_real03=(100+50*loc_integer02)/4
    if GetTriggerEventId()==EVENT_UNIT_DEATH or Func0148(loc_real01,loc_real02,GetUnitX(loc_unit02 ),GetUnitY(loc_unit02))>765 or GetUnitAbilityLevel(loc_unit02,'B0CC')==0 then
    call DestroyEffect((LoadEffectHandle(hashtable001,(loc_ integer01),(32))))
    call DestroyEffect((LoadEffectHandle(hashtable001,(loc_ integer01),(176))))
    call UnitRemoveAbility(loc_unit02,'A1J9')
    call UnitRemoveAbility(loc_unit02,'B0CC')
    call FlushChildHashtable(hashtable001,(loc_integer01))
    call Func0035(loc_trigger01)
    elseif GetTriggerEvalCount(loc_trigger01)==(10*0.8)then
    call DestroyEffect((LoadEffectHandle(hashtable001,(loc_ integer01),(32))))
    call SaveEffectHandle(hashtable001,(loc_integer01),(32) ,(AddSpecialEffectTarget("war3mapImported\\ShivasE nchantment.mdx",loc_unit02,"overhead")))
    call Func0114(loc_unit01,loc_unit02,1,loc_real03)
    elseif GetTriggerEvalCount(loc_trigger01)==(10*1.6)then
    call DestroyEffect((LoadEffectHandle(hashtable001,(loc_ integer01),(32))))
    call SaveEffectHandle(hashtable001,(loc_integer01),(32) ,(AddSpecialEffectTarget("war3mapImported\\ShivasE nchantment.mdx",loc_unit02,"overhead")))
    call Func0114(loc_unit01,loc_unit02,1,loc_real03)
    elseif GetTriggerEvalCount(loc_trigger01)==(10*2.5)then
    call DestroyEffect((LoadEffectHandle(hashtable001,(loc_ integer01),(32))))
    call SaveEffectHandle(hashtable001,(loc_integer01),(32) ,(AddSpecialEffectTarget("war3mapImported\\ShivasE nchantment.mdx",loc_unit02,"overhead")))
    call Func0114(loc_unit01,loc_unit02,1,loc_real03)
    elseif GetTriggerEvalCount(loc_trigger01)==(10*3.4)then
    call DestroyEffect((LoadEffectHandle(hashtable001,(loc_ integer01),(32))))
    call Func0114(loc_unit01,loc_unit02,1,loc_real03)
    elseif GetTriggerEvalCount(loc_trigger01)>(10*3.9)then
    call DestroyEffect((LoadEffectHandle(hashtable001,(loc_ integer01),(176))))
    call UnitRemoveAbility(loc_unit02,'A1J9')
    call UnitRemoveAbility(loc_unit02,'B0CC')
    call FlushChildHashtable(hashtable001,(loc_integer01))
    call Func0035(loc_trigger01)
    set loc_unit03=CreateUnit(GetOwningPlayer(loc_unit02), 'e00E',GetUnitX(loc_unit02),GetUnitY(loc_unit02),0 )
    call Func0190(loc_unit03,'A1MJ')
    call SetUnitAbilityLevel(loc_unit03,'A1MJ',loc_integer0 2)
    call IssueTargetOrder(loc_unit03,"thunderbolt",loc_unit 02)
    set loc_unit03=null
    endif
    set loc_trigger01=null
    set loc_unit01=null
    set loc_unit02=null
    return false
    endfunction



    Func0148 is a simple function which will calculate the distance between two points
    Spoiler: 

    function Func0148 takes real loc_real01,real loc_real02,real loc_real03,real loc_real04 returns real
    return SquareRoot(((loc_real01-loc_real03)*(loc_real01-loc_real03))+((loc_real02-loc_real04)*(loc_real02-loc_real04)))
    endfunction


    Playdota writted this range as 740 as a center-collision distance

    Dota 2: The biggest question is if Cold Feet uses center-center or center-collision distance

    To find this I modified npc_heroes.txt so a hero will have baracks size collision. Dota_range_display (which is drawn from center) is set to 740


    As you can see cold feet break at 740 range. Based on this we can make a statement that cold feet in dota 2 uses center-center. If it used center-collision then it would break much further from dota_range circle as building collision is much bigger then heroes

    If it uses center-center colision then its brake range should be 765 not 740.

    This is a really easy bug which can be fixed by changing data files.
    Known Tooltips and UI information Issues List
    Unreleased heroes data:

    Hero Balance Compilation 6.48 onwards
    Items and Other Balance compilation 6.48 onwards
    Dota 1 6.81c Test Map
Working...
X