Referring to your MUI question.
Using Waits and Triggering Unit can still make a spell MUI. As long as you use a separate unit group for each unit that casts (aka indexing) it should be MUI.
Bump
you don't have to find anything wrong...it might be coded perfectly right and there's a problem in the map we're using. Just, if there's something that you notice could be fixed I'd like to know >>;
You use a GetLocalPlayer() function which is JASS.
However you can do it in GUI simply by using Custom Script. I have a system here that makes a multiboard per player in GUI, you can use it if you like.
In the old JASS compiler, a function with multiple returns was only type-safe on the last return. That is to say
function A takes handle h returns integer
return h
endfunction
Would break, as h is not an integer. However,
function B takes handle h returns integer...
My friends were making a map using the DotA template and they had the basic multiboard from DotA. They asked me to help them make the multiboard have the -cs functionality (which changes the title to where it shows how many creepkills and denies you have as an individual player). To do this, I...
Have fun dealing with diminishing criticals if you plan on using another abilty based on critical strike...
Otherwise, there's a function in JASS that allows you to calculate the damage I think. I'll have to look it up though.
The problem is probably with the Dummy Unit or the Dummy Spell. Just because the trigger brings forth the problem doesn't mean that it always has to be the sole of the problem.
Yeah, try this trigger instead. This was made by AceHart, so credit him instead of me.
Respawn Init
Events
Map initialization
Conditions
Actions
Set tmpInteger = 0
Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile)...
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Dying unit) belongs to an ally of Player 1 (Red)) Equal to (==) True
Then - Actions
Hero - Instantly revive (Dying unit) at...
That trigger is full of leaks and won't work properly when there's a timer. You need to assign the units to variables, that way the game won't re-assign their titles.
That leaks very, very badly. I'm not even sure if that will work if 2 heroes die within the interval of <Your Seconds>
You need to save the dying to a variable. "Triggering Unit" will get re-assigned.
Try this for spawning units, it's from the DotA Template which can be found in the...