1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  4. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  5. Units have been turned into heroes in our latest Icon Contest! Vote for the best icon set at the Icon Contest #18 Poll!
    Dismiss Notice
  6. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  7. The raddest synthwave tracks were chosen - Check out our Music Contest #12 - Results and congratulate the winners!
    Dismiss Notice
  8. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Taking Spell Requests

Discussion in 'Requests' started by Freyleyes, Mar 29, 2009.

  1. Vincent

    Vincent

    Joined:
    Aug 30, 2008
    Messages:
    334
    Resources:
    0
    Resources:
    0
    Well as much as possible i need it in Gui.

    and also if you might mistake it for the soul siphon type of spell then here:
    Basically its just a life drain without the channeling part, targets only one unit just like life drain, caster can move, target can move, and just like life drain if you go too far the life drain will break.

    Just to clarify.
    Sorry if there are any misinterpretations.
    :)
     
  2. Andreyas5

    Andreyas5

    Joined:
    Jun 6, 2009
    Messages:
    5
    Resources:
    0
    Resources:
    0
    make it in GUI plz i don't know how to JASS
    i need a spell request =(
    i need:
    Chidori

    desc:Sasuke Charges up hes Chakra to make a powerful force called chidori

    WELL i need you to put long knockback =D because my Chidori is just Shockwave it sux =( ty!
     
  3. darkreapers

    darkreapers

    Joined:
    Jun 1, 2009
    Messages:
    86
    Resources:
    0
    Resources:
    0
    hi if u can do this is GUI that would help me so much, if not its ok i just want to toss it out there

    u know in dota with wild axes, can u make a spell like that, only with storm bolt as the missle? i have been told its impossible to make in GUI so... yea =(

    name is called

    Hammer throw

    describtion

    Bal rok unleashes his hammers, throwing it in a wild arc that damages all units in path.

    spell level
    5
    each level should increase damage.
    thx for ur help.
     
  4. Aspard

    Aspard

    Joined:
    Jul 2, 2008
    Messages:
    595
    Resources:
    1
    Spells:
    1
    Resources:
    1
    baassee
    Phantomer

    Tooltip:

    The phantom shoots an arrow towards a target unit. While shooting the phantom merges with the arrow and travels with it. When reaching the targeted unit the phantom appears, dealing 50/75/100/125 + 50% of travel distanced. Also when the arrow strikes its target it will reduce the targets armor for 5/6/7/8 and slow it for 10/15/20/25%. Casting Range increases by level.

    Levels: 4

    AoE: None

    Duration of buffs: 8 seconds

    Cooldown: 260/210/170/120

    Manacost: not chosen yet, put it as you want to

    Other info

    Unit target spell, the hero should be hidden while merging and reappering next to the target when the arrow has reached its target. Also you can make the hero turn on auto attack on the target. A trail would be nice too :)

    idea by doom sheep and me


    Here is your request, friend. :D Feel free to make suggestion and comment it.
     

    Attached Files:

  5. baassee

    baassee

    Joined:
    Nov 14, 2008
    Messages:
    3,220
    Resources:
    17
    Spells:
    14
    Tutorials:
    3
    Resources:
    17
    Just badass lovely :) Exactly what I requested +rep
     
  6. Aspard

    Aspard

    Joined:
    Jul 2, 2008
    Messages:
    595
    Resources:
    1
    Spells:
    1
    Resources:
    1
    The only thing I dislike about it myself, that the distance damage is too high :D
     
  7. baassee

    baassee

    Joined:
    Nov 14, 2008
    Messages:
    3,220
    Resources:
    17
    Spells:
    14
    Tutorials:
    3
    Resources:
    17
    The thing is about that is that the casting range should be very low, you get it? So most of the times you can do like if we say level 1 got 300 range, the damage will be

    50 + 150 = 200 with some +/- depending on the movement of the targeted unit
     
  8. Aspard

    Aspard

    Joined:
    Jul 2, 2008
    Messages:
    595
    Resources:
    1
    Spells:
    1
    Resources:
    1
  9. Aspard

    Aspard

    Joined:
    Jul 2, 2008
    Messages:
    595
    Resources:
    1
    Spells:
    1
    Resources:
    1
    breebree123
    3.berserk-the lord knight gets kaboom. .making his hitpoints more bigger,but decreases his normal attack.

    hitpoint bonus-30000,50000,80000
    damage decrease-30%/60%/80%
    not target. .when you push it it automatically casts

    Bowling Bash-The lord knight knockbacks enemy's away within 500 Aoe From him.and has 12% chance to stun the enemy's

    damage-3000,5000,8000
    stun duration-0.30
    not target. .when you push it it automatically casts


    Here are two of your spells. Both MUI, I hope, I wrote tooltips correctly. Anyway, you can change anything you want.

    Credits go to Paladon for his Knockback System. I'm not going to reinvent the wheel.

    Double-posting again, dumned.
     

    Attached Files:

  10. kevv2

    kevv2

    Joined:
    May 4, 2008
    Messages:
    1,102
    Resources:
    0
    Resources:
    0
    u forgot about me? :(
    ill just say what i need (if u can get me the firewalls, GREAT!)

    Fire Circle:

    Axel uses his control over fire to call forth a lava field surounded by a Fire Wall which blocks users of passing through it, Any unit will get 5 damage per seconds and any unit hitting the wall will get 50 damage



    Basicly, its he calls a lava circle of 600 area, around it a firewall and no1 can get throu, players trying to get in, get pushed out and players trying to get out gets pushed in and get hurt 50 damage (+ 5 damage per seconds for staying INSIDE the field)
     
  11. darknezz003

    darknezz003

    Joined:
    Nov 21, 2008
    Messages:
    106
    Resources:
    0
    Resources:
    0
    Maybe this will work:

    - Set Chance
    - Add Ability Metamorphosis to attacked unit (Hero)
    - Set Duration.
    - remove ability at the end of duration.
     
  12. breebree123

    breebree123

    Joined:
    Apr 5, 2009
    Messages:
    712
    Resources:
    0
    Resources:
    0
    well. .thank you for the spells Aspard but. .there were errors D:
    error
    Error
    call ForGroupBJ( GetUnitsInRangeOfLocMatching(500.00, udg_BB_Loc, Condition(function Trig_Bowling_bash_Func003001003)), function Trig_Bowling_bash_Func003A )
    call RemoveLocation(udg_BB_Loc)
    endfunction

    //===========================================================================
    function InitTrig_Bowling_bash takes nothing returns nothing
    set gg_trg_Bowling_bash = CreateTrigger( )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_Bowling_bash, EVENT_PLAYER_UNIT_SPELL_EFFECT )
    call TriggerAddCondition( gg_trg_Bowling_bash, Condition( function Trig_Bowling_bash_Conditions ) )
    call TriggerAddAction( gg_trg_Bowling_bash, function Trig_Bowling_bash_Actions )
    endfunction

    //===========================================================================
    // Trigger: Berserker
    //===========================================================================
    function Trig_Berserker_Conditions takes nothing returns boolean
    if ( not ( GetSpellAbilityId() == 'A00A' ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Berserker_Actions takes nothing returns nothing
    set udg_Bers_Loc = GetUnitLoc(GetSpellAbilityUnit())
    // ----------
    // ATTENTION!
    // In the next action put unused player or random enemy of casting unit!
    // ----------
    call CreateNUnitsAtLoc( 1, 'unec', Player(11), udg_Bers_Loc, bj_UNIT_FACING )
    // ----------
    call UnitAddAbilityBJ( 'A002', GetLastCreatedUnit() )
    call SetUnitAbilityLevelSwapped( 'A009', GetLastCreatedUnit(), GetUnitAbilityLevelSwapped('A00A', GetSpellAbilityUnit()) )
    call IssueTargetOrderBJ( GetLastCreatedUnit(), "cripple", GetSpellAbilityUnit() )
    call UnitApplyTimedLifeBJ( 3.00, 'BTLF', GetLastCreatedUnit() )
    call RemoveLocation(udg_Bers_Loc)
    endfunction

    //===========================================================================
    function InitTrig_Berserker takes nothing returns nothing
    set gg_trg_Berserker = CreateTrigger( )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_Berserker, EVENT_PLAYER_UNIT_SPELL_EFFECT )
    call TriggerAddCondition( gg_trg_Berserker, Condition( function Trig_Berserker_Conditions ) )
    call TriggerAddAction( gg_trg_Berserker, function Trig_Berserker_Actions )
    endfunction

    //===========================================================================
    // Trigger: Berserker Check
    //===========================================================================
    function Trig_Berserker_Check_Func002Func001C takes nothing returns boolean
    if ( not ( UnitHasBuffBJ(GetEnumUnit(), 'B003') == true ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Berserker_Check_Func002A takes nothing returns nothing
    if ( Trig_Berserker_Check_Func002Func001C() ) then
    call UnitAddAbilityBJ( 'A008', GetEnumUnit() )
    call SetUnitAbilityLevelSwapped( 'A008', GetEnumUnit(), GetUnitAbilityLevelSwapped('A00A', GetEnumUnit()) )
    else
    call UnitRemoveAbilityBJ( 'A008', GetEnumUnit() )
    endif
    endfunction

    function Trig_Berserker_Check_Actions takes nothing returns nothing
    Error
    call ForGroupBJ( GetUnitsInRectAll(GetPlayableMapRect()), function Trig_Berserker_Check_Func002A )
    endfunction

    //===========================================================================
    function InitTrig_Berserker_Check takes nothing returns nothing
    set gg_trg_Berserker_Check = CreateTrigger( )
    call TriggerRegisterTimerEventPeriodic( gg_trg_Berserker_Check, 1.00 )
    call TriggerAddAction( gg_trg_Berserker_Check, function Trig_Berserker_Check_Actions )
    endfunction

    //===========================================================================
    // Trigger: Cast A Knockback
    //===========================================================================
    function Trig_Cast_A_Knockback_Func001Func003Func001C takes nothing returns boolean
    if ( not ( udg_KB_Units[udg_KB_GeneralIntegers[1]] == udg_KBA_TargetUnit ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Cast_A_Knockback_Func001Func004C takes nothing returns boolean
    if ( not ( udg_KB_TotalKnockUnits > udg_KB_GeneralIntegers[1] ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Cast_A_Knockback_Func001Func007C takes nothing returns boolean
    if ( not ( udg_KB_CountBuffs == 0 ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Cast_A_Knockback_Func001C takes nothing returns boolean
    if ( not ( IsUnitInGroup(udg_KBA_TargetUnit, udg_KB_KnockbackedUnits) == true ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Cast_A_Knockback_Func002C takes nothing returns boolean
    if ( not ( udg_KB_CountBuffs == 0 ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Cast_A_Knockback_Actions takes nothing returns nothing
    if ( Trig_Cast_A_Knockback_Func001C() ) then
    call GroupRemoveUnitSimple( udg_KBA_TargetUnit, udg_KB_KnockbackedUnits )
    set udg_KB_CountBuffs = ( udg_KB_CountBuffs - 1 )
    set udg_KB_GeneralIntegers[2] = 1
    loop
    exitwhen udg_KB_GeneralIntegers[2] > udg_KB_TotalKnockUnits
    if ( Trig_Cast_A_Knockback_Func001Func003Func001C() ) then
    set udg_KB_GeneralIntegers[1] = udg_KB_GeneralIntegers[2]
    set udg_KB_GeneralIntegers[2] = udg_KB_TotalKnockUnits
    else
    endif
    set udg_KB_GeneralIntegers[2] = udg_KB_GeneralIntegers[2] + 1
    endloop
    if ( Trig_Cast_A_Knockback_Func001Func004C() ) then
    set udg_KB_Levels[udg_KB_GeneralIntegers[1]] = udg_KB_Levels[udg_KB_TotalKnockUnits]
    set udg_KB_Units[udg_KB_GeneralIntegers[1]] = udg_KB_Units[udg_KB_TotalKnockUnits]
    set udg_KB_Angle[udg_KB_GeneralIntegers[1]] = udg_KB_Angle[udg_KB_TotalKnockUnits]
    set udg_KB_MaxDistance[udg_KB_GeneralIntegers[1]] = udg_KB_MaxDistance[udg_KB_TotalKnockUnits]
    set udg_KB_ReachedDistance[udg_KB_GeneralIntegers[1]] = udg_KB_ReachedDistance[udg_KB_TotalKnockUnits]
    set udg_KB_ReduceSpeedReal[udg_KB_GeneralIntegers[1]] = udg_KB_ReduceSpeedReal[udg_KB_TotalKnockUnits]
    set udg_KB_SpecificSpeed[udg_KB_GeneralIntegers[1]] = udg_KB_SpecificSpeed[udg_KB_TotalKnockUnits]
    set udg_KB_Effects_1[udg_KB_GeneralIntegers[1]] = udg_KB_Effects_1[udg_KB_TotalKnockUnits]
    set udg_KB_Effects_2[udg_KB_GeneralIntegers[1]] = udg_KB_Effects_2[udg_KB_TotalKnockUnits]
    set udg_KB_DestroyTrees[udg_KB_GeneralIntegers[1]] = udg_KB_DestroyTrees[udg_KB_TotalKnockUnits]
    set udg_KB_EffectCounter[udg_KB_GeneralIntegers[1]] = udg_KB_EffectCounter[udg_KB_TotalKnockUnits]
    set udg_KB_EffectCounter2[udg_KB_GeneralIntegers[1]] = udg_KB_EffectCounter2[udg_KB_TotalKnockUnits]
    set udg_KB_GeneralIntegers[1] = ( udg_KB_GeneralIntegers[1] - 1 )
    else
    endif
    set udg_KB_Units[udg_KB_TotalKnockUnits] = null
    set udg_KB_TotalKnockUnits = ( udg_KB_TotalKnockUnits - 1 )
    if ( Trig_Cast_A_Knockback_Func001Func007C() ) then
    set udg_KB_TotalKnockUnits = 0
    call DisableTrigger( gg_trg_Get_Knockback )
    else
    endif
    else
    endif
    if ( Trig_Cast_A_Knockback_Func002C() ) then
    call EnableTrigger( gg_trg_Get_Knockback )
    else
    endif
    set udg_KB_CountBuffs = ( udg_KB_CountBuffs + 1 )
    set udg_KB_TotalKnockUnits = ( udg_KB_TotalKnockUnits + 1 )
    set udg_KB_Casters[udg_KB_TotalKnockUnits] = udg_KBA_Caster
    set udg_KB_Levels[udg_KB_TotalKnockUnits] = udg_KBA_Level
    set udg_KB_Units[udg_KB_TotalKnockUnits] = udg_KBA_TargetUnit
    set udg_KB_StartPositions[udg_KB_TotalKnockUnits] = udg_KBA_StartingPosition
    set udg_KB_TempPoint[udg_KB_TotalKnockUnits] = GetUnitLoc(udg_KBA_TargetUnit)
    set udg_KB_Angle[udg_KB_TotalKnockUnits] = AngleBetweenPoints(udg_KB_StartPositions[udg_KB_TotalKnockUnits], udg_KB_TempPoint[udg_KB_TotalKnockUnits])
    set udg_KB_MaxDistance[udg_KB_TotalKnockUnits] = ( udg_KBA_DistancePerLevel * I2R(udg_KBA_Level) )
    set udg_KB_ReachedDistance[udg_KB_TotalKnockUnits] = 0.00
    set udg_KB_ReduceSpeedReal[udg_KB_GeneralIntegers[1]] = 0.00
    set udg_KB_SpecificSpeed[udg_KB_TotalKnockUnits] = udg_KBA_Speed
    set udg_KB_Effects_1[udg_KB_TotalKnockUnits] = udg_KBA_SpecialEffects[1]
    set udg_KB_Effects_2[udg_KB_TotalKnockUnits] = udg_KBA_SpecialEffects[2]
    set udg_KB_DestroyTrees[udg_KB_TotalKnockUnits] = udg_KBA_DestroyTrees
    set udg_KB_EffectCounter[udg_KB_GeneralIntegers[1]] = 0
    set udg_KB_EffectCounter2[udg_KB_GeneralIntegers[1]] = 0
    call GroupAddUnitSimple( udg_KBA_TargetUnit, udg_KB_KnockbackedUnits )
    call RemoveLocation (udg_KBA_StartingPosition)
    call RemoveLocation (udg_KB_TempPoint [udg_KB_TotalKnockUnits] )
    call RemoveLocation (udg_KB_StartPositions [udg_KB_TotalKnockUnits] )
    endfunction

    //===========================================================================
    function InitTrig_Cast_A_Knockback takes nothing returns nothing
    set gg_trg_Cast_A_Knockback = CreateTrigger( )
    call TriggerAddAction( gg_trg_Cast_A_Knockback, function Trig_Cast_A_Knockback_Actions )
    endfunction

    //===========================================================================
    // Trigger: Get Knockback
    //===========================================================================
    function Trig_Get_Knockback_Func001Func001Func002Func003C takes nothing returns boolean
    if ( not ( udg_KB_TotalKnockUnits > udg_KB_GeneralIntegers[1] ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Get_Knockback_Func001Func001Func002Func006C takes nothing returns boolean
    if ( not ( udg_KB_CountBuffs == 0 ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Get_Knockback_Func001Func001Func002Func014Func002A takes nothing returns nothing
    call KillDestructable( GetEnumDestructable() )
    endfunction

    function Trig_Get_Knockback_Func001Func001Func002Func014C takes nothing returns boolean
    if ( not ( udg_KB_DestroyTrees[udg_KB_GeneralIntegers[1]] == true ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Get_Knockback_Func001Func001Func002Func015C takes nothing returns boolean
    if ( not ( udg_KB_EffectCounter[udg_KB_GeneralIntegers[1]] == 6 ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Get_Knockback_Func001Func001Func002Func016C takes nothing returns boolean
    if ( not ( udg_KB_EffectCounter2[udg_KB_GeneralIntegers[1]] == 8 ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Get_Knockback_Func001Func001Func002C takes nothing returns boolean
    if ( not ( udg_KB_ReachedDistance[udg_KB_GeneralIntegers[1]] >= udg_KB_MaxDistance[udg_KB_GeneralIntegers[1]] ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Get_Knockback_Func001Func001C takes nothing returns boolean
    if ( not ( IsUnitInGroup(udg_KB_Units[udg_KB_GeneralIntegers[1]], udg_KB_KnockbackedUnits) == true ) ) then
    return false
    endif
    return true
    endfunction

    function Trig_Get_Knockback_Actions takes nothing returns nothing
    set udg_KB_GeneralIntegers[1] = 1
    loop
    exitwhen udg_KB_GeneralIntegers[1] > udg_KB_TotalKnockUnits
    if ( Trig_Get_Knockback_Func001Func001C() ) then
    if ( Trig_Get_Knockback_Func001Func001Func002C() ) then
    call GroupRemoveUnitSimple( udg_KB_Units[udg_KB_GeneralIntegers[1]], udg_KB_KnockbackedUnits )
    set udg_KB_CountBuffs = ( udg_KB_CountBuffs - 1 )
    if ( Trig_Get_Knockback_Func001Func001Func002Func003C() ) then
    set udg_KB_Levels[udg_KB_GeneralIntegers[1]] = udg_KB_Levels[udg_KB_TotalKnockUnits]
    set udg_KB_Units[udg_KB_GeneralIntegers[1]] = udg_KB_Units[udg_KB_TotalKnockUnits]
    set udg_KB_Angle[udg_KB_GeneralIntegers[1]] = udg_KB_Angle[udg_KB_TotalKnockUnits]
    set udg_KB_MaxDistance[udg_KB_GeneralIntegers[1]] = udg_KB_MaxDistance[udg_KB_TotalKnockUnits]
    set udg_KB_ReachedDistance[udg_KB_GeneralIntegers[1]] = udg_KB_ReachedDistance[udg_KB_TotalKnockUnits]
    set udg_KB_ReduceSpeedReal[udg_KB_GeneralIntegers[1]] = udg_KB_ReduceSpeedReal[udg_KB_TotalKnockUnits]
    set udg_KB_SpecificSpeed[udg_KB_GeneralIntegers[1]] = udg_KB_SpecificSpeed[udg_KB_TotalKnockUnits]
    set udg_KB_Effects_1[udg_KB_GeneralIntegers[1]] = udg_KB_Effects_1[udg_KB_TotalKnockUnits]
    set udg_KB_Effects_2[udg_KB_GeneralIntegers[1]] = udg_KB_Effects_2[udg_KB_TotalKnockUnits]
    set udg_KB_DestroyTrees[udg_KB_GeneralIntegers[1]] = udg_KB_DestroyTrees[udg_KB_TotalKnockUnits]
    set udg_KB_EffectCounter[udg_KB_GeneralIntegers[1]] = udg_KB_EffectCounter[udg_KB_TotalKnockUnits]
    set udg_KB_EffectCounter2[udg_KB_GeneralIntegers[1]] = udg_KB_EffectCounter2[udg_KB_TotalKnockUnits]
    set udg_KB_GeneralIntegers[1] = ( udg_KB_GeneralIntegers[1] - 1 )
    else
    endif
    set udg_KB_Units[udg_KB_TotalKnockUnits] = null
    set udg_KB_TotalKnockUnits = ( udg_KB_TotalKnockUnits - 1 )
    if ( Trig_Get_Knockback_Func001Func001Func002Func006C() ) then
    set udg_KB_TotalKnockUnits = 0
    call DisableTrigger( GetTriggeringTrigger() )
    else
    endif
    else
    set udg_KB_ReducedReal = ( ( udg_KB_SpecificSpeed[udg_KB_GeneralIntegers[1]] / udg_KB_MaxDistance[udg_KB_GeneralIntegers[1]] ) * udg_KB_ReachedDistance[udg_KB_GeneralIntegers[1]] )
    set udg_KB_ReduceSpeedReal[udg_KB_GeneralIntegers[1]] = ( udg_KB_ReducedReal - ( udg_KB_ReduceSpeedReal[udg_KB_GeneralIntegers[1]] * 0.10 ) )
    set udg_KB_TempReal = ( ( udg_KB_SpecificSpeed[udg_KB_GeneralIntegers[1]] - udg_KB_ReduceSpeedReal[udg_KB_GeneralIntegers[1]] ) * 2.00 )
    set udg_KB_TempPoint[1] = GetUnitLoc(udg_KB_Units[udg_KB_GeneralIntegers[1]])
    set udg_KB_TempPoint[2] = PolarProjectionBJ(udg_KB_TempPoint[1], udg_KB_TempReal, udg_KB_Angle[udg_KB_GeneralIntegers[1]])
    set udg_KB_EffectCounter[udg_KB_GeneralIntegers[1]] = ( udg_KB_EffectCounter[udg_KB_GeneralIntegers[1]] + 1 )
    set udg_KB_EffectCounter2[udg_KB_GeneralIntegers[1]] = ( udg_KB_EffectCounter2[udg_KB_GeneralIntegers[1]] + 1 )
    if ( Trig_Get_Knockback_Func001Func001Func002Func014C() ) then
    call EnumDestructablesInCircleBJ( 200.00, udg_KB_TempPoint[2], function Trig_Get_Knockback_Func001Func001Func002Func014Func002A )
    else
    endif
    if ( Trig_Get_Knockback_Func001Func001Func002Func015C() ) then
    set udg_KB_EffectCounter[udg_KB_GeneralIntegers[1]] = 0
    call AddSpecialEffectLocBJ( udg_KB_TempPoint[1], udg_KB_Effects_1[udg_KB_GeneralIntegers[1]] )
    call DestroyEffectBJ( GetLastCreatedEffectBJ() )
    else
    endif
    if ( Trig_Get_Knockback_Func001Func001Func002Func016C() ) then
    set udg_KB_EffectCounter2[udg_KB_GeneralIntegers[1]] = 0
    call AddSpecialEffectLocBJ( udg_KB_TempPoint[1], udg_KB_Effects_2[udg_KB_GeneralIntegers[1]] )
    call DestroyEffectBJ( GetLastCreatedEffectBJ() )
    else
    endif
    call SetUnitPositionLoc( udg_KB_Units[udg_KB_GeneralIntegers[1]], udg_KB_TempPoint[2] )
    call RemoveLocation (udg_KB_TempPoint[1])
    call RemoveLocation (udg_KB_TempPoint[2])
    set udg_KB_ReachedDistance[udg_KB_GeneralIntegers[1]] = ( udg_KB_ReachedDistance[udg_KB_GeneralIntegers[1]] + udg_KB_TempReal )
    endif
    else
    endif
    set udg_KB_GeneralIntegers[1] = udg_KB_GeneralIntegers[1] + 1
    endloop
    endfunction

    //===========================================================================
    function InitTrig_Get_Knockback takes nothing returns nothing
    set gg_trg_Get_Knockback = CreateTrigger( )
    call DisableTrigger( gg_trg_Get_Knockback )
    call TriggerRegisterTimerEventPeriodic( gg_trg_Get_Knockback, 0.02 )
    call TriggerAddAction( gg_trg_Get_Knockback, function Trig_Get_Knockback_Actions )
    endfunction

    //===========================================================================
    function InitCustomTriggers takes nothing returns nothing
    call InitTrig_Water_Shield( )
    call InitTrig_Water_Shield_effect( )
    call InitTrig_Regen_Aura( )
    call InitTrig_destiny_push( )
    call InitTrig_push( )
    call InitTrig_Game( )
    call InitTrig_Untitled_Trigger_001( )
    call InitTrig_Initialization( )
    call InitTrig_Add_Events( )
    call InitTrig_Damage( )
    call InitTrig_see_all( )
    call InitTrig_Attachsheild( )
    call InitTrig_wew( )
    call InitTrig_AtachAxe( )
    call InitTrig_picking_hero6( )
    call InitTrig_picking_hero5( )
    call InitTrig_picking_hero4( )
    call InitTrig_picking_hero3( )
    call InitTrig_picking_hero2( )
    call InitTrig_picking_hero( )
    call InitTrig_wisps( )
    call InitTrig_Damage_Triger( )
    call InitTrig_Runing_Damage_Triger( )
    call InitTrig_Bowling_bash( )
    call InitTrig_Berserker( )
    call InitTrig_Berserker_Check( )
    call InitTrig_Cast_A_Knockback( )
    call InitTrig_Get_Knockback( )
    endfunction

    //===========================================================================
    function RunInitializationTriggers takes nothing returns nothing
    call ConditionalTriggerExecute( gg_trg_Untitled_Trigger_001 )
    call ConditionalTriggerExecute( gg_trg_Initialization )
    call ConditionalTriggerExecute( gg_trg_see_all )
    call ConditionalTriggerExecute( gg_trg_wisps )
    endfunction

    //***************************************************************************
    //*
    //* Players
    //*
    //***************************************************************************

    function InitCustomPlayerSlots takes nothing returns nothing

    // Player 0
    call SetPlayerStartLocation( Player(0), 0 )
    call SetPlayerColor( Player(0), ConvertPlayerColor(0) )
    call SetPlayerRacePreference( Player(0), RACE_PREF_HUMAN )
    call SetPlayerRaceSelectable( Player(0), true )
    call SetPlayerController( Player(0), MAP_CONTROL_USER )

    endfunction

    function InitCustomTeams takes nothing returns nothing
    // Force: TRIGSTR_006
    call SetPlayerTeam( Player(0), 0 )

    endfunction

    //***************************************************************************
    //*
    //* Main Initialization
    //*
    //***************************************************************************

    //===========================================================================
    function main takes nothing returns nothing
    call SetCameraBounds( -15616.0 + GetCameraMargin(CAMERA_MARGIN_LEFT), -13824.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM), 15616.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT), 13312.0 - GetCameraMargin(CAMERA_MARGIN_TOP), -15616.0 + GetCameraMargin(CAMERA_MARGIN_LEFT), 13312.0 - GetCameraMargin(CAMERA_MARGIN_TOP), 15616.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT), -13824.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM) )
    call SetDayNightModels( "Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl", "Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl" )
    call NewSoundEnvironment( "Default" )
    call SetAmbientDaySound( "LordaeronSummerDay" )
    call SetAmbientNightSound( "LordaeronSummerNight" )
    call SetMapMusic( "Music", true, 0 )
    call CreateRegions( )
    call CreateAllItems( )
    call CreateAllUnits( )
    call InitBlizzard( )
    call InitGlobals( )
    call InitCustomTriggers( )
    call RunInitializationTriggers( )

    endfunction

    //***************************************************************************
    //*
    //* Map Configuration
    //*
    //***************************************************************************

    function config takes nothing returns nothing
    call SetMapName( "TRIGSTR_001" )
    call SetMapDescription( "TRIGSTR_003" )
    call SetPlayers( 1 )
    call SetTeams( 1 )
    call SetGamePlacement( MAP_PLACEMENT_USE_MAP_SETTINGS )

    call DefineStartLocation( 0, -9472.0, -13184.0 )

    // Player setup
    call InitCustomPlayerSlots( )
    call SetPlayerSlotAvailable( Player(0), MAP_CONTROL_USER )
    call InitGenericPlayerSlots( )
    endfunction


    and this. .the Bowling Bash. .

    Error
    call ForGroupBJ( GetUnitsInRangeOfLocMatching(500.00, udg_BB_Loc, Condition(function Trig_Bowling_bash_Func003001003)), function Trig_Bowling_bash_Func003A )
    call RemoveLocation(udg_BB_Loc)
    endfunction

    //===========================================================================
    function InitTrig_Bowling_bash takes nothing returns nothing
    set gg_trg_Bowling_bash = CreateTrigger( )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_Bowling_bash, EVENT_PLAYER_UNIT_SPELL_EFFECT )
    call TriggerAddCondition( gg_trg_Bowling_bash, Condition( function Trig_Bowling_bash_Conditions ) )
    call TriggerAddAction( gg_trg_Bowling_bash, function Trig_Bowling_bash_Actions )
    endfunction

    tell me what should i do :D


    can you make it GUI?
     
    Last edited: Jun 10, 2009
  13. baassee

    baassee

    Joined:
    Nov 14, 2008
    Messages:
    3,220
    Resources:
    17
    Spells:
    14
    Tutorials:
    3
    Resources:
    17
    Hidden tags please !!!
     
  14. breebree123

    breebree123

    Joined:
    Apr 5, 2009
    Messages:
    712
    Resources:
    0
    Resources:
    0
    done. .hidden tags are done. .
     
  15. darkreapers

    darkreapers

    Joined:
    Jun 1, 2009
    Messages:
    86
    Resources:
    0
    Resources:
    0
    bree do u have new gen by any chance? if not download it first
     
  16. breebree123

    breebree123

    Joined:
    Apr 5, 2009
    Messages:
    712
    Resources:
    0
    Resources:
    0
    i've download it D:
     
  17. Aspard

    Aspard

    Joined:
    Jul 2, 2008
    Messages:
    595
    Resources:
    1
    Spells:
    1
    Resources:
    1
    They ARE GUI. And it works fine for me.
    All this code for me looks like a handnote of insane =)) I don't know Jass. Can you tell me, when the problem appears?

    The icon of the spell would be shown on the hero control panel then. That's what I've been talking about. Will it be okay?

    I'm busy with other requests right now, sorry =\
     
  18. breebree123

    breebree123

    Joined:
    Apr 5, 2009
    Messages:
    712
    Resources:
    0
    Resources:
    0
    first i copied the spells,buffs and triggers and when i test map the error appears
     
  19. Aspard

    Aspard

    Joined:
    Jul 2, 2008
    Messages:
    595
    Resources:
    1
    Spells:
    1
    Resources:
    1
    I fixed the problem. Here are the spells.
    Btw, did you try them before copying? Did they work?
     

    Attached Files:

  20. breebree123

    breebree123

    Joined:
    Apr 5, 2009
    Messages:
    712
    Resources:
    0
    Resources:
    0
    yes they work. .but when i test map my map. .the triggers errored. .
    BTW thanks for fixing