Results 1 to 3 of 3

Thread: [Confirmed] Diabolical Edict AoE is too big.

  1. #1
    Basic Member igo95862's Avatar
    Join Date
    Aug 2012
    Posts
    3,142

    [Confirmed] Diabolical Edict AoE is too big.

    Dota 1: 500 center-center=475 center-collision
    Spoiler: 

    function Func3061 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),(14)))
    local integer loc_integer02=(LoadInteger(hashtable001,(loc_integ er01),(5)))
    local group loc_group01
    local unit loc_unit02
    local real loc_real01
    local real loc_real02
    local real loc_real03
    local real loc_real04
    local unit loc_unit03=(LoadUnitHandle(hashtable001,(loc_integ er01),(19)))
    if GetTriggerEvalCount(loc_trigger01)>32 then
    call FlushChildHashtable(hashtable001,(loc_integer01))
    call Func0035(loc_trigger01)
    else
    set loc_group01=Func0030()
    set unit124=loc_unit01
    call GroupEnumUnitsInRange(loc_group01,GetUnitX(loc_unit01),GetUnitY(loc_uni t01),500,Condition(function Func3060))
    set loc_unit02=GroupPickRandomUnit(loc_group01)
    if loc_unit02==null then
    set loc_real01=GetRandomReal(175,400)
    set loc_real02=GetRandomReal(0,6)
    set loc_real03=GetUnitX(loc_unit01)+loc_real01*Cos(loc _real02)
    set loc_real04=GetUnitY(loc_unit01)+loc_real01*Sin(loc _real02)
    call DestroyEffect(AddSpecialEffect("Abilities\\Weapons \\SteamTank\\SteamTankImpact.mdl",loc_real03,loc_r eal04))
    else
    call DestroyEffect(AddSpecialEffectTarget("Abilities\\W eapons\\SteamTank\\SteamTankImpact.mdl",loc_unit02 ,"origin"))
    call Func0114(loc_unit03,loc_unit02,5,12.5*loc_integer0 2)
    endif
    call Func0029(loc_group01)
    endif
    set loc_unit02=null
    set loc_group01=null
    set loc_trigger01=null
    set loc_unit01=null
    return false
    endfunction

    Dota 2: 500 center-collision
    Spoiler: 

    // Leshrac: Diabolic Edict
    //================================================== ================================================== =============
    "leshrac_diabolic_edict"
    {
    // General
    //-------------------------------------------------------------------------------------------------------------
    "ID" "5242" // unique ID number for this ability. Do not change this once established or it will invalidate collected stats.
    "AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_NO_TARGET"
    "AbilityUnitTargetTeam" "DOTA_UNIT_TARGET_TEAM_ENEMY"
    "AbilityUnitTargetType" "DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_BASIC | DOTA_UNIT_TARGET_BUILDING"
    "AbilityUnitDamageType" "DAMAGE_TYPE_COMPOSITE"

    // Casting
    //-------------------------------------------------------------------------------------------------------------
    "AbilityCastPoint" "0.5"

    // Time
    //-------------------------------------------------------------------------------------------------------------
    "AbilityCooldown" "22 22 22 22"

    // Cost
    //-------------------------------------------------------------------------------------------------------------
    "AbilityManaCost" "95 120 135 155"

    // Damage.
    //-------------------------------------------------------------------------------------------------------------
    "AbilityDamage" "12.5 25 37.5 50"
    "AbilityDuration" "8 8 8 8"

    // Special
    //-------------------------------------------------------------------------------------------------------------
    "AbilitySpecial"
    {
    "01"
    {
    "var_type" "FIELD_INTEGER"
    "num_explosions" "32"
    }

    "02"
    {
    "var_type" "FIELD_INTEGER"
    "radius" "500"
    }
    }
    }

  2. #2

  3. #3
    Volunteer Moderator bu3ny's Avatar
    Join Date
    Oct 2011
    Location
    .-.
    Posts
    11,639
    Added.
    Please, just call me buny.

Posting Permissions

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