This is the code used by IceFrog for Rupture.
function Trig_Rupture_Actions takes nothing returns nothing
local unit lr7=GetTriggerUnit()
local unit lr8=GetSpellTargetUnit()
local location lRb=GetUnitLoc(lr8)
local integer lmZ=GetUnitAbilityLevel(lr7,'A0LH')
local timer...
Is there a way to force a skill to start it's cooldown?
i.e. I cast SpellBreak, a skill that put a buff on me for 5 seconds. While I have the buff, an enemy cast a spell. I want to be able to cancel the casting and put the skill in cooldown
First problem
I had some custom icon to skills and items. I put them in ReplaceableTextures\CommandButton, import them and I got both BTN* and DISBTN* but they still appears in green when they can't be learned(for skills) or bought(items), why?
Second problem
The random function doesn't...
[Resolved]set integer = 1 + 1 is an invalid type
when I try to enable this trigger it tells me that set liSlot = liSlot + 1 is an invalid type for specified operator...
function Trig_Magical_Stone_Actions takes nothing returns nothing
local item litComponent1
local item...
[Resolved]Trigger Problem
Ok, there will be a lot of information so I'll try to be as clear as possible :p
I want to do a skill like the Charge of Barathrum in DotA, I took fearie Fire as they did in DotA and all is perfect.
The skill makes the caster darker and a little transparent.
Also...
I did a skill in wich flames fall at random position at regular interval. The trigger is supposed to work since the editor doesn't disable it. But since I did it, I got compile error even with triggers I don't know where the hell they come from. I wan't to know if you can find something that...
I'm new with JASS, I read tutorials about it and I wanted to see if I could do something with it, so I tried to do a Shadow Strike spell in JASS, but I always get the same F***ING error that doesn't even exist (I think)
function Trig_Shadow_Strike_Conditions takes nothing returns boolean...
I did many abilities that moves the triggering unit to a certain position when the ability is cast. Example, I did a skill that makes the unit do a DotA like Fissure but also makes the unit goes to the end of the fissure line. The problem is that if I put the trigger under the "starts the effect...
Ok, here's my problem, I want to make a special effect (by default overhead a caracter) bigger, so it can be like a big zone under an effect. The best exemple I can think is in DotA, the Faceless Void's Chronosphere. It's special effect is the replenish mana's effect, but on a big area instead...
I want to do a fan of knives but with a slow effect on all enemies that receives damage. I did a trigger that summon a dummy with shadow strike (for damage and slow) but only the damages work.
Knives Throw
Events
Unit - A unit Starts the effect of an ability
Conditions...