Hero/Item Database and Mechanics Feedback

Discussion in 'Advanced Mechanics' started by Protomanx1, Jul 20, 2009.

  1. EebstertheGreat

    EebstertheGreat Forum Manager

    Are Tranquil Boots not supposed to stack?
     
  2. MauranKilom

    MauranKilom Well-Known Member

    Probably the movespeed? That one is not supposed to stack...
     
  3. FightFightFight

    FightFightFight Well-Known Member

    But MS of boots does not stack because of how base ability works. How it can suddenly become stackable?
     
  4. DracoLich

    DracoLich Well-Known Member

    nohow, its about regen
     
  5. EebstertheGreat

    EebstertheGreat Forum Manager

    It's not the base ability, it's just how it is coded. Try stacking Eul's Scepters.

    So does that mean the regen won't stack on Wisp anymore either, or just on the bear?
     
  6. FightFightFight

    FightFightFight Well-Known Member

    But Euls stacks because it uses MS ability with 8 levels and level is adjusted based on what items unit has. In my tests abilities with flat MS bonus do not stack.

    Code:
    [noparse][A0V0]
    code=AIms
    levels=8
    targs1=_
    DataA1=40
    targs2=_
    DataA2=100
    targs3=_
    DataA3=90
    targs4=_
    Art=ReplaceableTextures\CommandButtons\BTNBootsOfSpeed.blp
    Name="Euls movement"[/noparse]
    [jass]function Func0724 takes nothing returns boolean
    local unit loc_unit01=GetTriggerUnit()
    local integer loc_integer01=1
    if Func0391(loc_unit01,integers089[integer135])!=null then
    set loc_integer01=2
    endif
    if Func0390(loc_unit01,integers089[integer069],GetManipulatedItem())!=null then
    set loc_integer01=3
    endif
    if Func0390(loc_unit01,integers089[integer241],GetManipulatedItem())!=null then
    set loc_integer01=4
    endif
    if Func0390(loc_unit01,integers089[integer160],GetManipulatedItem())!=null or Func0390(loc_unit01,integers089[integer161],GetManipulatedItem())!=null or Func0390(loc_unit01,integers089[integer162],GetManipulatedItem())!=null then
    set loc_integer01=5
    endif
    if Func0390(loc_unit01,integers089[integer251],GetManipulatedItem())!=null then
    set loc_integer01=6
    endif
    if Func0390(loc_unit01,integers089[integer134],GetManipulatedItem())!=null then
    set loc_integer01=7
    endif
    if Func0390(loc_unit01,integers089[integer159],GetManipulatedItem())!=null then
    set loc_integer01=8
    endif
    if Func0390(loc_unit01,integers089[integer182],GetManipulatedItem())!=null then
    call UnitAddAbility(loc_unit01,'A0V0')
    call SetUnitAbilityLevel(loc_unit01,'A0V0',loc_integer01)
    call UnitMakeAbilityPermanent(loc_unit01,true,'A0V0')
    else
    call UnitRemoveAbility(loc_unit01,'A0V0')
    endif
    set loc_unit01=null
    return false
    endfunction[/jass]
     
  7. EebstertheGreat

    EebstertheGreat Forum Manager

    I guess you're right.
     
  8. WindowsXXXXP

    WindowsXXXXP Well-Known Member

    Eul's stack in dota 2. Probably soon to be a feature.
     
  9. FightFightFight

    FightFightFight Well-Known Member

    Also "Item passive stacking" page is outdated on MS.
    "Two pairs of BoT will only give you +95 MS" - now +100
    "One pair of BoT, one pair of Phase Boots and 2 Eul's will grant you +120 MS" - now +140
     
  10. EebstertheGreat

    EebstertheGreat Forum Manager

    Fixed. The item sharing page is much worse. I'll deal with that soon.
     
  11. FightFightFight

    FightFightFight Well-Known Member

    I think Lifesteal page should mention Moment of courage as Aura-Based Lifesteal. (16/18/20/22% chance to get 20/40/60/80% lifesteal when attacked, removed 0.3 seconds after attacker receives more then 0 damage from Legion Commander, otherwise lasts 1 second.)

    [jass]
    function Func4189 takes nothing returns boolean
    local trigger loc_trigger01=GetTriggeringTrigger()
    local integer loc_integer01=GetHandleId(loc_trigger01)
    local unit loc_unit01=(LoadUnitHandle(hashtable001,(loc_integer01),(2)))
    local unit loc_unit02=(LoadUnitHandle(hashtable001,(loc_integer01),(17)))
    local integer loc_integer02=(LoadInteger(hashtable001,(loc_integer01),(59)))
    if GetTriggerEventId()!=EVENT_UNIT_DAMAGED then
    call FlushChildHashtable(hashtable001,(loc_integer01))
    call Func0035(loc_trigger01)
    call UnitRemoveAbility(loc_unit01,loc_integer02)
    call UnitRemoveAbility(loc_unit01,'B0FJ')
    call UnitRemoveAbility(loc_unit01,'B0FK')
    elseif GetEventDamageSource()==loc_unit01 and GetEventDamage()>0 then
    call TriggerRegisterTimerEvent(loc_trigger01,0.3,false)
    endif
    set loc_trigger01=null
    set loc_unit01=null
    set loc_unit02=null
    return false
    endfunction

    function Func4190 takes nothing returns boolean
    local trigger loc_trigger01=GetTriggeringTrigger()
    local integer loc_integer01=GetHandleId(loc_trigger01)
    local unit loc_unit01=(LoadUnitHandle(hashtable001,(loc_integer01),(2)))
    local unit loc_unit02=GetAttacker()
    local integer loc_integer02=GetUnitAbilityLevel(loc_unit01,'A2EY')
    local integer loc_integer03
    local integer loc_integer04=(LoadInteger(hashtable001,(loc_integer01),(34)))
    if loc_unit01==GetTriggerUnit()and((LoadInteger(hashtable001,(GetHandleId((loc_unit01))),((4316))))==1)==false and IsUnitAlly(loc_unit01,GetOwningPlayer(loc_unit02))==false then
    if GetRandomReal(0,100)<(loc_integer04+1)*reals032[loc_integer02]then
    call SaveInteger(hashtable001,(loc_integer01),(34),(0))
    call Func0044(loc_unit01,4316,0.9)
    if loc_integer02==1 then
    set loc_integer03='A2GD'
    elseif loc_integer02==2 then
    set loc_integer03='A2GE'
    elseif loc_integer02==3 then
    set loc_integer03='A2GF'
    elseif loc_integer02==4 then
    set loc_integer03='A2GC'
    endif
    call SetPlayerAbilityAvailable(GetOwningPlayer(loc_unit01),loc_integer03,false)
    call Func0192(loc_unit01,loc_integer03)
    set loc_trigger01=CreateTrigger()
    set loc_integer01=GetHandleId(loc_trigger01)
    call TriggerRegisterDeathEvent(loc_trigger01,loc_unit01)
    call TriggerRegisterUnitEvent(loc_trigger01,loc_unit02,EVENT_UNIT_DAMAGED)
    call TriggerRegisterTimerEvent(loc_trigger01,1.0,false)
    call TriggerAddCondition(loc_trigger01,Condition(function Func4189))
    call SaveUnitHandle(hashtable001,(loc_integer01),(2),(loc_unit01))
    call SaveUnitHandle(hashtable001,(loc_integer01),(17),(loc_unit02))
    call SaveInteger(hashtable001,(loc_integer01),(59),(loc_integer03))
    else
    call SaveInteger(hashtable001,(loc_integer01),(34),(loc_integer04+1))
    endif
    endif
    set loc_trigger01=null
    set loc_unit01=null
    set loc_unit02=null
    return false
    endfunction

    function Func4191 takes nothing returns nothing
    local unit loc_unit01=GetTriggerUnit()
    local trigger loc_trigger01=CreateTrigger()
    local integer loc_integer01=GetHandleId(loc_trigger01)
    call TriggerRegisterAnyUnitEventBJ(loc_trigger01,EVENT_PLAYER_UNIT_ATTACKED)
    call TriggerAddCondition(loc_trigger01,Condition(function Func4190))
    call SaveUnitHandle(hashtable001,(loc_integer01),(2),(loc_unit01))
    set loc_unit01=null
    set loc_trigger01=null
    endfunction

    function Func4192 takes nothing returns boolean
    if GetLearnedSkill()=='A2EY' and IsUnitIllusion(GetTriggerUnit())==false and GetUnitAbilityLevel(GetTriggerUnit(),'A2EY')==1 then
    call Func4191()
    endif
    return false
    endfunction[/jass]

    Leoric double lifesteal with mael/deso bug still not fixed. Should it be ported to Dota2 then?
     
  12. EebstertheGreat

    EebstertheGreat Forum Manager

    No, it's got to be a bug. IceFrog didn't consider that a unit could be both ranged and melee.
     
  13. WindowsXXXXP

    WindowsXXXXP Well-Known Member

    TP scrolls:
    It was updated to 1200 then TP distance was increased.
     
  14. EebstertheGreat

    EebstertheGreat Forum Manager

  15. FightFightFight

    FightFightFight Well-Known Member

    Reflection description says "The enemy is slowed by 60% and attacked by its reflection for 5 seconds", but duration is different with levels
     
  16. EebstertheGreat

    EebstertheGreat Forum Manager

  17. FIYABolt

    FIYABolt New Member

    graphic flickering when ALT+TAB and after maximize again in windows vista.
     
  18. EebstertheGreat

    EebstertheGreat Forum Manager

  19. kingdomnerdia

    kingdomnerdia Well-Known Member

    Pipe of Insight price still includes the old 53 cost of a GG branch. Is 3628, should be 3625.
     
  20. AKBu3nY

    AKBu3nY Well-Known Member

    |
    v
    Eebster, pls.