• 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.

[Trigger] Can u make me a SIMPLE spell? (+rep)

Status
Not open for further replies.
Level 3
Joined
Jul 24, 2010
Messages
54
hi there... I need a SIMPLE spell just a SIMPLE spell...

Mana Recolation
It burns nearby enemy unit's mana and replenish friendly unit's mana by 500 mana in 420 AoE.

that's all... its simple, isn't it? and you got +rep from what you working for...

Note : Its must well coded in MUI not GUI either JASS, and make sure its leakless :grin:
 
Level 3
Joined
Jul 24, 2010
Messages
54
Oh sorry if its should be in other forum... cause iam a new comer here....

And.. i don't wanna its in GUI.. cause i wanna cast this spells multiple times.. where in GUI it could be bugged....
 
Level 3
Joined
Jul 24, 2010
Messages
54
oopps... i didn't mention that.... but what about if the spell had a wait action... like...

Mana Recolation

It burns nearby enemy unit's mana and replenish friendly unit's mana by 500 mana in 420 AoE. Has 5 seconds delay... :xxd:

could u make it for me in MUI.. please?
 
Level 3
Joined
Jul 24, 2010
Messages
54
Nice and well coded +rep for u....
but...
could u make the other one for me?
its still Mana Recolation spell.. but it has 5 seconds delay....
 
Level 9
Joined
Jun 25, 2009
Messages
427
wow.. realy.. ur the nice guy i ever meet... thanks Pharaoh_ all new comer will surely need somebody like u...

And i see you don't have much knowledge about this stuff. GUI is the triggers written in trigger editor that are normal blizzard ones. You just click with mouse and there you have it. MUI is multi unit instansable spell: It can be written in GUI or in Jass/vJass. Multiple units can cast the same spell at the same time without malfunction. Jass is computer language (as i think so) and all GUI while you are saving your map is converted into Jass. vJass is Jass with some more functions and better efficiency.

:)
 
Level 3
Joined
Jul 24, 2010
Messages
54
And i see you don't have much knowledge about this stuff. GUI is the triggers written in trigger editor that are normal blizzard ones. You just click with mouse and there you have it. MUI is multi unit instansable spell: It can be written in GUI or in Jass/vJass. Multiple units can cast the same spell at the same time without malfunction. Jass is computer language (as i think so) and all GUI while you are saving your map is converted into Jass. vJass is Jass with some more functions and better efficiency.

:)

thanks.. but i already understand with those things... Multi Instansable GUI ... where you can cast spell at the same time without getting any leak or bug.. but.. i wandering... why this thing didn't working with "Pick Unit..." and "If Then Else" trigger... so.. i wanna know tips to avoid using those triggers...
 
Level 9
Joined
Jun 25, 2009
Messages
427
thanks.. but i already understand with those things... Multi Instansable GUI ... where you can cast spell at the same time without getting any leak or bug.. but.. i wandering... why this thing didn't working with "Pick Unit..." and "If Then Else" trigger... so.. i wanna know tips to avoid using those triggers...

To make spells Multi Instancesable, you have to use indexing system or Hashtables (suck it, hastables!!). You can find the tutorials in hive. Although you could consider this: What type of map are you creating? If AoS map, then: Why the hell you need to make your spell multiinstancesable when only one hero can cast it? unless you want to make such stupid modes as duplicate hero, mirror match or others. :)
 
Level 3
Joined
Jul 24, 2010
Messages
54
To make spells Multi Instancesable, you have to use indexing system or Hashtables (suck it, hastables!!). You can find the tutorials in hive. Although you could consider this: What type of map are you creating? If AoS map, then: Why the hell you need to make your spell multiinstancesable when only one hero can cast it? unless you want to make such stupid modes as duplicate hero, mirror match or others. :)

LOL.. stupid Mode... haha... XD... btw... yes its true... i dislike hashtable.. its realy hard to use.. and confusing :ugly:
 
i dislike hashtable.. its realy hard to use.. and confusing :ugly:

• Hashtables are easier to use and understand, than indexing systems.
• Hashtables can hold way more data than indexing systems, since the latter ones can hold a maximum of 8192 instances at a time.
• Hashtables are slower than indexing systems (not such a visible difference, but anyway).

So, each of them respectively has its pros and cons. It's up to you what to use.
I prefer hashtables, since indexing systems look more confusing to my eyes and hashtables are harder to get confusing.
 
Level 16
Joined
Aug 20, 2009
Messages
1,554
what if your map has -wtf?

where cooldown is gone, and you will cast a sliding tornado GUI Spell?
where you use like Every 0.03 seconds of the game,
move tornado infront.

lol...the old tornado will not slide if you cast another Tornado..., the new one will slide instead...

So you even need MUI in AoS which doesn't contain Duplicate hero or mirror match :D
 
Level 9
Joined
Jun 25, 2009
Messages
427
what if your map has -wtf?

where cooldown is gone, and you will cast a sliding tornado GUI Spell?
where you use like Every 0.03 seconds of the game,
move tornado infront.

lol...the old tornado will not slide if you cast another Tornado..., the new one will slide instead...

So you even need MUI in AoS which doesn't contain Duplicate hero or mirror match :D

I said, modes as Duplicate Hero, Mirror Match or others: Others, i had in mind WTF mode :)

And to pharaoh: Agreed, indexing it's like BAM to your eyes, and how to avoid those 8141 something (don't remember the number), just add one if :)
 
Level 12
Joined
Nov 20, 2007
Messages
660
guys ... you don't need too much triggers for this ... for an exemple "Arcane Ring" / "Arcane Boots" (From DotA) gives all unit around him 200-300 mana ... and for mana "extract" you can simply change the variabiles (from 200 to -200) and put a dummy to cast the spell. I don't remind right now but i can search for spell if you don't find it :p
 
Status
Not open for further replies.
Top