• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

===[NEW] Spell Workshop [NEW]===

Status
Not open for further replies.
Level 8
Joined
Apr 14, 2011
Messages
191
It's ok. Besides, I completely forgot how many days I waited. Totally got distracted by terraining. I think the spell maybe delayed. The race is incomplete. I am too distracted on how I may do this... that... The point is I don't know how to model. Place me last. I can wait longer. If someone is making a request, place me... second to the last.
 
Level 8
Joined
Feb 17, 2007
Messages
368
Since your request is easy and simple (non-MUI), I decided to do yours first
A test map is attached
This spell:
1. ONLY affects Hero unit
2a. The SFX can be changed in "DG Setup" trigger
2b. SFX[1] is Caster's location Special Effect (the green effect) and SFX[2] is dragged unit SFX where the more bright green formed at the top of the dragged unit's head

Dude it's awesome! Very nicely done, I really appreciate it! +REP :thumbs_up:
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
@MapModNewbie
Your request can easily be tackled by using a base spell called "Engineering Upgrade"
That way, this spell alone if leveled up, can enhance other spell as well for that unit
I attached a test map over here for you to see more clearly on the Object Editor and its field usage
This test map has a Hero unit and has 2 abilities, which are the Chain Lightning and Engineering Upgrade
Notice that each time you leveled up the Engineering Upgrade, your Chain Lightning color will change from level to level (not from Chain Lightning LVL 1 -> LVL 2, it's the Engineering Upgrade LVL 1 -> LVL 2, get it ?)
So, this shows you that this spell can be used
If you want an exact example of the usage of this ability, try using the default Blizzard's Hero, Tinker and play with that unit for awhile
Once you level up the Engineering Upgrade, it will enhance Pocket Factory, Clust Rockets and Robo-Goblin each respectively

The famous Krobelus the Dead Prophet (one of DotA Hero) uses this ability as her base ability to enhance other spells of her
 

Attachments

  • Simple Engineering Upgrade System.w3x
    14.1 KB · Views: 57
Level 33
Joined
Mar 27, 2008
Messages
8,035
@Infinate
http://www.hiveworkshop.com/forums/...workshop-new-180734/index112.html#post1898408

@mischief
Your request is done, sadly, I can't do the Aqua Benedicta yet, still experimenting on it =.=''
A test map is attached, hope you like it :)

@luixmania
Your Buster Shot and Infected Cleaver is done, however about 2 more spells of your requested spell, I can't do that as it requires to detect unit's current damage as damage calculation (JASS can do it, I can't)
Sorry =/
 

Attachments

  • mischief.w3x
    18.2 KB · Views: 78
  • luixmana Spell Pack.w3x
    24 KB · Views: 45
Last edited:
Level 8
Joined
Apr 14, 2011
Messages
191
REVIEW:
1. Giga flare: I said it was like chain lightning. Targeting a unit causes other units near it to be also affected by chain lightning.
2. Godlike Aura: Only, special effects will be on this. (just like any other auras)
3. Aqua Benedicta: No comment.
4. Bark of the covenant: add some special effects

But don't work on these now. Have a nice rest if you have no more requests coming. I'll fix it (if i can)

Fixes:
1. Giga Flare: I changed it into forked lightning. when i tested the changes,BOOM, there is lightning. But then, its wierd, only flame strike affects the others.
 
Level 10
Joined
Mar 19, 2010
Messages
622
Defskull, I'm working on a Dragon hero and he would needs some spell that would need your help.
Here you go:

1) Name: Tail Swipe
Type: AoE/Passive
Description: This passive spell damages enemy behind the hero. It's like a slam-like effect happens every X seconds behind the hero. Upon damage it also slows the hero(just like slam).

2)Name: Wing slash
Type: AoE/Passive
Description: The Hero's wing is waving all the time, thus it damages and knock back enemy that stands at his side. Damage, knock back distance must be configurable.

3)Name:Flame Breath
Type: Passive/AoE/Dps
Description: The hero breaths out flame over X seocnds, damage enemy in a cone and apply dps. Breaths for Y duration. Auto breath every Z seconds.
Note: 1) Hero can move and do any thing else when he's breathing and the flame follows his movement and constant on his front.
2) It deals damage over time, and apply dps.
2) AoE, Damage, Dps, X, Y, Z must be configurable.

Thanks Def.
 
Level 12
Joined
Jan 30, 2009
Messages
1,067
@yeo So basically you cannot kill him if you are a melee unit. Sounds a bit overpowered.
 
Level 10
Joined
Mar 19, 2010
Messages
622
@Vizel Not at all. You can just fight him with some tankers on front, making him face away, while others stand beside. The point is those who standing beside area ranged, and stands out of the area. Btw can you make 'em for me?
Thanks a lot man. =)
 
Level 12
Joined
Jan 30, 2009
Messages
1,067
lol no i can't make them. And you just proved my point. Melee won't be able to do it. Didn't realize it was a boss though.
 
Level 12
Joined
Jan 30, 2009
Messages
1,067
i think the facings are angles. I don't remember which though. I don't make spells here, I try to proofread them to make sure they make sense and that the request doesn't waste people's time. And, if they're complex enough, I make tables of their information and functions to make it much easier for the makers to make it without having to do all the math! :)
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Okay yeohxin, I'm able to do Tail Swipe and Wing Slash
About Flame Breath, it's far too advance to keep track with
I'm sorry, perhaps in the meantime you can ask other person to deal with that request, it's just you should not put your hopes too high on me for doing this Flame Breath
But hey, I'm gonna try it, but kinda takes time, so you should in the meantime, ask others

Nevertheless, here comes Tail Swipe and Wing Slash !

Next Request: MapModNewbie
 

Attachments

  • yeohxin's Spell Pack.w3x
    21.5 KB · Views: 49
Level 33
Joined
Mar 27, 2008
Messages
8,035
What do you need formula for? Maybe i can helpz u.

Yu is kan help mie by showing me example of action to pick units in formula of cone in front of caster (picture is attached)
I know it's something to do with the "Units In Region Matching Condition" function... right ?

===BAD DRAWING UP AHEAD===
 

Attachments

  • MIE DAWING OFZ TEH PICTURZ.JPG
    MIE DAWING OFZ TEH PICTURZ.JPG
    6.7 KB · Views: 67
Level 20
Joined
Jul 6, 2009
Messages
1,885
There's no Area variable type nor can any simulate it.
However, you can pick all units around cone origin and check whether they belong to a cone.
An easy way would be to compare angle of cone (facing of caster?) and angle between cone origin and filter unit - if the difference is less than X then the unit belongs to cone.
To get angle difference, you can use Acos(Cos(angle1 - angle2)).
Already posted it, you probably didn't notice.
 
another way to pick up units in a circular in front of the caster is using...

JASS:
x1 = x + distance * Cos(GetUnitFacing(u) * bj_DEGTORAD)
y1 = y + distance * Sin(GetUnitFacing(u) * bj_DEGTORAD)

where x and y is the position of the caster
where distance is the distance from caster
where the Cos and Sin is the angle from caster

then you can filter units around the x1 and y1 points...
 
I dont think that there is a GUI form but this one will work...

  • GetUnitFacingFilterTestGUI
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Thunder Clap
    • Actions
      • Set Distance = 500.00
      • Set AoE = 300.00
      • Set Caster = (Triggering unit)
      • Set Loc = (Position of (Triggering unit))
      • Set UnitX = (X of Loc)
      • Set UnitY = (Y of Loc)
      • Custom script: set udg_UnitX1 = udg_UnitX + udg_Distance * Cos(GetUnitFacing(udg_Caster) * bj_DEGTORAD)
      • Custom script: set udg_UnitY1 = udg_UnitY + udg_Distance * Sin(GetUnitFacing(udg_Caster) * bj_DEGTORAD)
      • Custom script: call RemoveLocation(udg_Loc)
      • Unit Group - Pick every unit in (Units within AoE of (Point(UnitX1, UnitY1))) and do (Actions)
        • Loop - Actions
          • Unit - Kill (Picked unit)
 
Level 20
Joined
Jul 6, 2009
Messages
1,885
  • Custom script: set udg_UnitX1 = udg_UnitX + udg_Distance * Cos(GetUnitFacing(udg_Caster) * bj_DEGTORAD)
  • Custom script: set udg_UnitY1 = udg_UnitY + udg_Distance * Sin(GetUnitFacing(udg_Caster) * bj_DEGTORAD)
Lol this is same as point with polar offset in GUI so i don't see purpose of posting it D:
especially because you're picking units in circle in front of starting point..

Anyway, here's how to pick units within circular sector
  • Set Loc1 = Circle origin point
  • Custom script: set bj_wantDestroyGroup = true
  • Unit Group - Pick every unit in (Units within 600.00 (circle radius) of Loc1 matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
    • Loop - Actions
      • Set Loc2 = (Position of (Picked unit))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Acos((Cos((Circular sector facing - (Angle from Loc1 to Loc2)))))) Less than or equal to 40.00 <- half of the angle at sector origin
        • Then - Actions
          • //Put actions for units within sector here
        • Else - Actions
      • Custom script: call RemoveLocation(udg_Loc2)
  • Custom script: call RemoveLocation(udg_Loc1)
 
Last edited:
Level 3
Joined
Mar 3, 2010
Messages
37
ok i have tested the spells and i had to fiz some stuff (like trystan bal when colided with the end of the map game crashed) changed the cleaver from horizontal to vertical trow) and its working fine now ill send you a link to my map so you can take a look at em.
 
You said it yourself(if you're talking about coning)...
There's no Area variable type nor can any simulate it.

Also, try to put a KILL action without mathing condition with this formula...
(Acos((Cos((Cone angle - (Angle from Loc1 to Loc2)))))) Less than or equal to 40.00
and it will KILL the caster also...

I'm using the native for Polar projection, its faster...
 
Level 20
Joined
Jul 6, 2009
Messages
1,885
I was refering to InfinateAnswers about the area type of variable. I was trying to say it's impossible to do it the way he posted
  • Set Area = your formula
  • Unit Group - pick all units in Area and do actions
    • Actions
      • Unit - damage picked unit

Also, it's not hard to filter out the caster so i don't see the problem - the main thing is the formula.
 
Level 10
Joined
Mar 19, 2010
Messages
622
Okay yeohxin, I'm able to do Tail Swipe and Wing Slash
About Flame Breath, it's far too advance to keep track with
I'm sorry, perhaps in the meantime you can ask other person to deal with that request, it's just you should not put your hopes too high on me for doing this Flame Breath
But hey, I'm gonna try it, but kinda takes time, so you should in the meantime, ask others

Nevertheless, here comes Tail Swipe and Wing Slash !

Next Request: MapModNewbie

Oh ok. You've done your best! =)
Everyone have their own limit, so just do what you can!
Btw thanks for the spell xD
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Infinate, your next job is to finish rysnt11's request
Here's the request:

stone gaze
The medusa stare to her prey, making them slowly turn into stone, after 3s, they completly stoned
In 3 second they de-stoned
And when stoned, they gain 6 / 10 armor bonus
Stone duration is 2 second
So the actual duration is 8 s, 3 s first slowed, 2 second stoned, 3 second, de-stoned with removal of The armor bonus, but they still slowed until the duration is done
And when the Stoned, the affected unit should have stopped anim, and paused
 
Status
Not open for further replies.
Top