Ability Problem

RockmanderZ

New Member
Reaction score
0
I was trying to create this ability but I cant figure it out:(

It's called Frost Diver it summons an ice on front of the caster maybe 800 range then after a 1 -2 seconds it explodes causing units around 600 AoE of the dummy ice to experience a Frost Nova..
 

robinremue

Member
Reaction score
16
This is how I would do it.

Base an ability of flame strike, set the range, etc to whatever you want and delete all art of the spell. Set casting time to two seconds. And add frost nova effect to the buffs (not sure of this last one)

Code:
Spell
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to <your ability>
    Actions
        Set tmp_TargetPoint = (Target point of ability being cast)
        Special Effect - Create a special effect at tmp_TargetPoint using Doodads\Northrend\Water\North_Iceberg4\North_Iceberg4.mdl
        Set tmp_Effect = (Last created special effect)
        Wait 2.00 seconds
        Special Effect - Destroy tmp_Effect
        Special Effect - Create a special effect at tmp_TargetPoint using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
        Set tmp_Effect = (Last created special effect)
        Wait 0.10 seconds
        Special Effect - Destroy tmp_Effect

tmp_TargetPoint is a Point Variable
tmp_Effect is a special effect variable

This noobish (since I'm a noob) trigger creates your iceblock and destroys it with an explosion after 2 seconds.

Hope this is of any use
 

RockmanderZ

New Member
Reaction score
0
Hmm, thanks for the help but this is not what I'm looking for..

I want it to create a dummy ice in a straight line for maybe 600 or 800 range then after a few seconds the ice explodes causing nearby enemy units to experience a Frost Nova..
 

Omni

Ultra Cool Member
Reaction score
37
Code:
Event:
unit - unit starts the effect of an ability
Conditions:
(ability being cast) equal to whatever
Actions:
unit - create 1 block of ice at [U]Point with polar offset[/U]
set blok of ice = last created unit
wait 2 secs
unit - kill blok of ice
unit - damage area
im not having the WE open right now but it would look like that i guess :p
 

robinremue

Member
Reaction score
16
Ah you want ice to shoot towards the target?

If it has to be a ray of ice, you would need to loop the creation of a dummy unit (with the ice model) or an ice special effect. Just create them at a point with an offset (offset+another offset for each ice thingy you create) and facing the target unit.

Note: Sitting outside on my laptop now don't have WE here xD
 

ertaboy356b

Old School Gamer
Reaction score
86
Frost Diver is from Ragnarok Online, it creates a line of ice, and damaging units catching it, or maybe worst, freezing it....

Hmmmm, Maybe I can send you a trigger, and just get the idea from it....
I'm too lazy to build triggers now..
 

dragonhord

Knowledge is true opinion. - Plato
Reaction score
82
FREE HANDED So its not perfect :D .
Events -
Unit - A unit starts the effect of an ability
Conditions -
Ability being cast equal to (Your ability)
Actions -
Set IceCaster = Casting Unit
For Loop Integer A from 1 to (Number of ice you want) do actions
Set IceBlockPoint(Integer A) = Position of IceCaster offset by 40 x Integer A towards Facing of IceCaster Degrees
Special Effect - Create (Ice Effect of w/e you want) at IceBlockPoint
Set IceEffect(Integer A) = Last Created special effect
Wait 2 seconds
Destroy IceEffect(Integer A)
Set IceGroup = Units within 400 of IceBlockPoint(Integer A) matching Matching Unit belongs to an ally of owner of IceCaster = false
Unit Group - Pick Every unit in IceGroup and do unit - Cause IceCaster to damage picked unit dealing X x Level of (Your Ability) for IceCaster
 

Cheekything

TH.net Regular
Reaction score
5
Ok i'm not going to type this in code form cos it'll take me too long and you will be able to do it faster, my coding skills are very rusty i'm sorry

Jist of idea

You want a projectile with an ice model
You want it to do maybe do the frost slow area for say AoE 50
You want its max range to be 800 (maybe it might be called travel path)
Then when projectile reaches 800
Create temp point at location
Destroy Projectile
Create Effect Frost nova at location
Create AoE damage of (damage here)
And Frost slow effect to AoE

i think thats how it'd be planned out im not too sure if it helps but good luck
 

MaaxeEvid

New Member
Reaction score
8
if u have a jass function that creates a dummy like

//////////Create Dummy/////////////
function Dummy takes integer id returns nothing
local real rx = GetUnitX(GetTriggerUnit())
local real ry = GetUnitY(GetTriggerUnit())
local unit d = CreateUnit(GetOwningPlayer(GetTriggerUnit()),'The RawData of Dummy', rx, ry, bj_UNIT_FACING )
call UnitApplyTimedLife( d, 'BTLF', 2.00 )
call UnitAddAbility( d, id)
endfunction

////////

makes the things much easer ^^
 

13lade619

is now a game developer :)
Reaction score
398
add expiration timers to your dummies (should be created especially for Frost Driver) then trigger that when the dummy dies, another dummy (general dummy unit) will cast thunderclap at its place.

-
thehelperTripleAnimatedUB.gif
 

RockmanderZ

New Member
Reaction score
0
MaaxeEvid, sry not familiar with Jass:( , but I wanna learn..

>dragonhord that may help me..:) +rep(I'm too kind giving reps:D)

>13blade619 it helped me(+rep)

>sry omni that's not what I'm suppose to do

>ertaboy356b hmm thanks if you're onto it just pm me..:)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top