• 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 17
Joined
Jun 17, 2010
Messages
2,275
I have a request... shouldn't be too difficult.

Spell: Exodus

Format: GUI

6 second channel.
Can not be cast while invulnerable.

Resurrects all fallen allies with 100% health and the mana they died with.
90 second cooldown.

I guess I would need a point array variable to store the point at which the heroes died? I'm using an edited GUI resurrection system from here.

I would really appreciate it and I will obviously give credits. =)

lol have u tried using the wc3 spell "Resurrect" and making it global area of effect, and target heroes? lol
 
Level 7
Joined
Jun 15, 2010
Messages
218
Hi, i got 2 spell reqruests. I need them MUI

Quick Blades


Description: Hits target unit for (3xlvl) hits, each hit deals 0.7x agility damage. Casting unit moves to random point surround
Targeted unit after each hit.
would be cool if some special effects would be added. and maybe the last hit a slower animation speed for cool looking.

Buf: None
spelltype: Target Unit

levels 1: Slashes target for 3 times dealing 0.7x agaility damage for each slash
levels 2: Slashes target for 7 times dealing 0.7x agaility damage for each slash
levels 3: Slashes target for 10 times dealing 0.7x agaility damage for each slash
levels 4: Slashes target for 13 times dealing 0.7x agaility damage for each slash
levels 5: Slashes target for 15 times dealing 0.7x agaility damage for each slash





Drag

Description: Drags targeted unit to the caster for a period of time. While the drag lasts, caster turns invisible which enables him to Prey targets down.
When the drag ends, there will come to explosion that will damge nearby enemy units. Special effect at the target would be cool:)

Buf: invisebility (for the caster)
spelltype: Target Unit

Level 1: Drags target and makes caster invisible for 2 seconds, deals 90 damge in 150 aoe.
Level 2: Drags target and makes caster invisible for 3 seconds, deals 180 damge in 200 aoe.
Level 3: Drags target and makes caster invisible for 4 seconds, deals 270 damge in 250 aoe.
Level 4: Drags target and makes caster invisible for 5 seconds, deals 360 damge in 300 aoe.
Level 5: Drags target and makes caster invisible for 6 seconds, deals 450 damge in 350 aoe.




these spells where already made (Forbidden Spell Pack 2.5) but they are not MUI :(
I would realy appritate the help.
credits and rep given ofc!
 
Level 13
Joined
Mar 13, 2010
Messages
1,172
Sounds fun, only that I always screw up the jump formula but I'll see what I can do. Lol mini-damaging rupture :D (glad you chose not to use any lightnings as lightnings are difficult to handle without major systems)

Wonder if I can make Rupture in JASS.

Thank you very much, and good luck :)
 
Level 8
Joined
Feb 17, 2007
Messages
368
Um i worked on it, and i got a good basis going, i was trying to finish then noticed i had no time left, so im going to sleep but ill post the test map, i think the problem is either the base spell, or my unit group has no units in it.

Might be with the base spell... I just tried messing around with it, couldn't get the heroes to revive. I'm wondering why the grunt revives? As he is a unit...
 
"Resurrect" Hero System...you need 2 triggers and initialize hashtables...I already tested it and it works, if you need the map just tell me...


  • Hero Dies
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Hashtable - Save Handle Of(Position of (Triggering unit)) as (Key dieloc) of (Key (Triggering unit)) in Hash
      • Unit Group - Add (Triggering unit) to ReviveGrp



  • Revive Group
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Revive Hero
    • Actions
      • Unit Group - Pick every unit in ReviveGrp and do (Actions)
        • Loop - Actions
          • Set DyingHero = (Picked unit)
          • Set DieLoc = (Load (Key dieloc) of (Key (Picked unit)) in Hash)
          • Set CasterLoc = (Position of (Triggering unit))
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Distance between CasterLoc and DieLoc) Less than or equal to 500.00
              • (DyingHero belongs to an ally of (Owner of (Triggering unit))) Equal to True
            • Then - Actions
              • Hero - Instantly revive DyingHero at DieLoc, Show revival graphics
              • Custom script: call RemoveLocation(udg_DieLoc)
              • Custom script: call RemoveLocation(udg_CasterLoc)
              • Unit Group - Remove (Picked unit) from ReviveGrp
              • Hashtable - Clear all child hashtables of child (Key (Picked unit)) in Hash
            • Else - Actions
 
Level 22
Joined
Nov 14, 2008
Messages
3,256
Where does it leak? And yeah, I'm not good with hashtables mc so I would appreciate it. :)

  • Hashtable - Save Handle Of(Position of (Triggering unit)) as (Key dieloc) of (Key (Triggering unit)) in Hash
@Zealon

I'm working on it, I guess it will not be any Rupture involved but I hope you understand that :p

How do you want the "changeables" to appear? As a function or an arrayed variable (functions is the best)?
 
Level 13
Joined
Mar 13, 2010
Messages
1,172
How do you want the "changeables" to appear? As a function or an arrayed variable (functions is the best)?

D: I really wish I knew what changeables and functions are. When it comes to triggers and coding I'm just a noob :(

I guess you can just use functions.

And yeah I don't really mind about the Rupture, I knew it would be hard, if not impossible.
 
Last edited:
Here you go...

take note that Im not using Resurrection as the base ability coz it wont work...

leaks cleared thanks to baassee, I just missed that...

  • Hero Dies
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Set DieLoc = (Position of (Triggering unit))
      • Hashtable - Save Handle OfDieLoc as (Key dieloc) of (Key (Triggering unit)) in Hash
      • Unit Group - Add (Triggering unit) to ReviveGrp
 
Last edited:
Level 8
Joined
Oct 23, 2010
Messages
292
I sort of have a Huge request, or a few spells, with downloadable spell effects,

the spells i want, (with descriptions, and links to the spell effects)
each of these i have tried and failed at making.


Water Bomb (hero ability)

uses http://www.hiveworkshop.com/forums/models-530/watercrumble-160135/?prev=search=water&d=list&r=20&t=8 as an effect.

I want it to be a spell that is cast on a unit, that makes them a walking timebomb, about 15 seconds, and in 15 seconds, they blow up, and cause damage in a AoE. 5 MIN cd




Water Breath & water damage. (hero ability)

uses http://www.hiveworkshop.com/forums/...sile-50515/?prev=search=water&d=list&r=20&t=8
&
http://www.hiveworkshop.com/forums/...mage-50516/?prev=search=water&d=list&r=20&t=8

Its sort of like a water flame thrower, It goes out and everything it hits, it gives the second effect, lasts 8 seconds. 30 SECOND cd



Oceans Wrath (hero ability)

uses http://www.hiveworkshop.com/forums/models-530/aquaburst-160557/?prev=search=water&d=list&r=20&t=8

this one is tricky, i want it so that the "charge up" is on the casting unit, then is blasts out in a "line" doing AoE damage. 1 MIN CD


Healing Waters

Uses http://www.hiveworkshop.com/forums/models-530/nagabirth-50336/?prev=search=water&d=list&r=20&t=11

this is the effect i want to see on someone who was healed, not the caster.



Water Shield

uses http://www.hiveworkshop.com/forums/...et-105342/?prev=search=water&d=list&r=20&t=11

after this is cast on a unit, he is invulnerable for three hits, then after that, the effect is gone. 1 MIN CD



Oceans Blessing

uses http://www.hiveworkshop.com/forums/models-530/bubblesbuff-113947/?prev=search=water&d=list&r=20&t=11

an effect that lasts 10 mins, that increases attack speed by 5 (no CD)


If you don't want to/can't do any of these, i understand. and in case you are wondering, they are for a BIG murloc/naga campaign i have been working on, if you'd like a taste, let me know :]

Thanks in advance!
 
Level 12
Joined
Dec 17, 2009
Messages
951
i need a spell
Type: MUI (to arena map)
Name: Magma Bullet
Effect: Lauch a projectile in the taargeted zone (like flame strike)
Dmg: deals 20 / Real STR + Bonus dmg. the dmg is AoE+DoT
deals dmg duration: 10 sec in the targeted area. (per second)
Thank you
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
I sort of have a Huge request, or a few spells, with downloadable spell effects,

the spells i want, (with descriptions, and links to the spell effects)
each of these i have tried and failed at making.


Water Bomb (hero ability)

uses http://www.hiveworkshop.com/forums/models-530/watercrumble-160135/?prev=search=water&d=list&r=20&t=8 as an effect.

I want it to be a spell that is cast on a unit, that makes them a walking timebomb, about 15 seconds, and in 15 seconds, they blow up, and cause damage in a AoE. 5 MIN cd




Water Breath & water damage. (hero ability)

uses http://www.hiveworkshop.com/forums/...sile-50515/?prev=search=water&d=list&r=20&t=8
&
http://www.hiveworkshop.com/forums/...mage-50516/?prev=search=water&d=list&r=20&t=8

Its sort of like a water flame thrower, It goes out and everything it hits, it gives the second effect, lasts 8 seconds. 30 SECOND cd



Oceans Wrath (hero ability)

uses http://www.hiveworkshop.com/forums/models-530/aquaburst-160557/?prev=search=water&d=list&r=20&t=8

this one is tricky, i want it so that the "charge up" is on the casting unit, then is blasts out in a "line" doing AoE damage. 1 MIN CD


Healing Waters

Uses http://www.hiveworkshop.com/forums/models-530/nagabirth-50336/?prev=search=water&d=list&r=20&t=11

this is the effect i want to see on someone who was healed, not the caster.



Water Shield

uses http://www.hiveworkshop.com/forums/...et-105342/?prev=search=water&d=list&r=20&t=11

after this is cast on a unit, he is invulnerable for three hits, then after that, the effect is gone. 1 MIN CD



Oceans Blessing

uses http://www.hiveworkshop.com/forums/models-530/bubblesbuff-113947/?prev=search=water&d=list&r=20&t=11

an effect that lasts 10 mins, that increases attack speed by 5 (no CD)


If you don't want to/can't do any of these, i understand. and in case you are wondering, they are for a BIG murloc/naga campaign i have been working on, if you'd like a taste, let me know :]

Thanks in advance!

Since you're saying it's a Campaign, this is surely not a MUI :D
Therefore, this request shall be mine :D
 
Level 12
Joined
Dec 17, 2009
Messages
951
VTZ whats the aoe?


AoE.jpg

^~^
 
Level 12
Joined
Dec 17, 2009
Messages
951
MUI : is a trigger type to Multi unit functions
GUI : is almost to one unit
like a time spell.
GUI use waits, (if you cast any spell using waits will leak with another unit using the same function)
MUI use hashtables (i dont know much about it ,but it doesnt leaks cuz its maded to multi units functions)

from what I understand, I think that's it. :)
 
Level 20
Joined
Jul 6, 2009
Messages
1,885
People comprehened GUI and MUI terms wrongly very often seems :|
GUI stands for Graphical User Interface.
MUI stands for Multi unit instaceable.

MUI is not an interface,MUI is just a 'mark' for spells that they can be casted multiple times at a time without bugging.
GUI is an interface for creating triggers.
 
lol VTZ...

MUI = Multinstanceable, meaning even if it is casted at the same time by many units, the variables or the spell does not interrupt each other...MUI usually uses Index system or hashtables...

GUI = Graphical User Interface, meaning its the one you 'SEE' (graphics) in your World Editor, it's even the one you see in your windows operating system...
 
Level 8
Joined
Feb 17, 2007
Messages
368
Here you go...

take note that Im not using Resurrection as the base ability coz it wont work...

leaks cleared thanks to baassee, I just missed that...

  • Hero Dies
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Set DieLoc = (Position of (Triggering unit))
      • Hashtable - Save Handle OfDieLoc as (Key dieloc) of (Key (Triggering unit)) in Hash
      • Unit Group - Add (Triggering unit) to ReviveGrp

Nice it works perfectly! =) I made a couple of adjustments but there's 1 thing thats left. Can I save the handle of the units mana when they die, and set it to that when they revive?
 
Nice it works perfectly! =) I made a couple of adjustments but there's 1 thing thats left. Can I save the handle of the units mana when they die, and set it to that when they revive?

Yes you can...

  • Hashtable - Save (Mana of (Triggering unit)) as (Key savedmana) of (Key (Triggering unit)) in (Hash)
Load it like this when you cast Revive Hero...

  • Set SavedMana = (Load (Key savedmana) of (Key (Picked unit)) from (Hash))
 
Level 8
Joined
Feb 17, 2007
Messages
368
Lol, I did it's not there. Even in the test map you provided when I click on that part this is what I get:



That was 1 of the triggers you posted and when I click on triggering unit that comes up. But when I try to make my own the Key -handle- part is red.

EDIT: OH, what I suspected was true. I just used the normal wc3 editor instead of newgen and the option was there. :O but I thought newgen had those functions as well?

EDIT 2: Seems that Newgen doesn't have this function, just checked the forums. So I just did it in the normal WE and copied it over. =p
 
Last edited:
Level 22
Joined
Nov 14, 2008
Messages
3,256
Yeah NewGen is fucked up with Hashtable GUI commands as you are meant to use JASS/vJASS with NewGen.

@Zealon

Almost done, just a few more lines and some testing to see if it works, if it does then it's done! Made with Hashtables for unlimited amount of instances. And it has it's own TimerUtils but that's up for the user if it wants to use it or not, it's fine either way.
 
Level 13
Joined
Mar 13, 2010
Messages
1,172
Almost done, just a few more lines and some testing to see if it works, if it does then it's done! Made with Hashtables for unlimited amount of instances. And it has it's own TimerUtils but that's up for the user if it wants to use it or not, it's fine either way.

Awesome so its MUI (I think), and it'll be partily customizable :D can't wait :D
 
Level 9
Joined
Nov 23, 2009
Messages
262
Could you help me out with this:

Im creating a Spell system for my map. You cast a abillity thats stored in the system like for example "Necromancy" and the you cast the Spell "Darkness" and when you use the abillity "Cast" a new spell is cast, Unholy Power for example.

How do i make a system that works like that?
 
Level 22
Joined
Nov 14, 2008
Messages
3,256
Awesome so its MUI (I think), and it'll be partily customizable :D can't wait :D

Oh let me say something; the homemade TimerUtils isn't as TimerUtils, just a simple timer recycler. Basic it has unlimited amount of instances and yes it's as MUI as it can get. You can customize almost everything although there are some object editor work that you have to change as the DOT/Slow ability (based on Acid Bomb without armor reduction). The rest are customizable including hit damage etc.
 
Status
Not open for further replies.
Top