DotA-like custom map problems

Raven1

New Member
Reaction score
0
Hey,
So I just used a DotA map template recently to create my own doto with unique characters, however I have run into several problems, of which two are really nasty and need to be fixed asap.
Namely.
I created a neutral entity similar to Roshan (big level 30 creep, respawns in every 10 minutes, gives 400 gold to every member of the team who killed it, drops Aegis [or in WC3, Ankh]). However, the problem is, I messed up the trigger quite a bit, and it ended up with having serious problems. It looks like this:
asderk_roly_www.kepfeltoltes.hu_.png
(Note: the trigger is done in a logic that if the Sentinel team kills it, x y z happens, else if the Scourge kills it, x y z happens, so that's why I only included the first half of the picture.)

The first problem is that my friend killed the creep (named Auchan, it's a long story :) ), and then shortly after, he bought another item in the shop. Thanks to the trigger however, shortly after, the newly bought item got removed instead of the Aegis, which is supposed to vanish after being "not used" in 10 minutes (meaning the user didn't die).

Also, my friend said that if they didn't kill the creature in 10 minutes, another one spawned, which also shouldn't happen.
And, after its first death, the creature didn't even drop the Aegis which he was supposed to, nor did they recieve the gold (or saw the message "Auchan has been visited etc. ..." which should be there)



The other problem is with a custom item, similar to the Aghanim's Scepter in the original DotA, which is supposed to improve a character's ultimate spell. However, one of my characters' ultimate is a spell based on Tinker's Engineering Upgrade, therefore it's a bit trickier to improve, unlike the others.
The three-level spell, called "Imbalance", works the following way: the hero's three other, originally 30 second-cooldown spells' cooldowns are reduced to 21, then 17, then 13 seconds.
However, I want to improve only one of the 3 other spells, and give it greater cast and range and area of effect ,as well as reduce its mana cost.
Apparently, this also failed, I tried to work it out in the following way, but it went badly:
asderk_roly2_www.kepfeltoltes.hu_.png

(Note: The non-ultimate spell, which I want to improve (called Tuzvihar - Firestorm in Hungarian), has 4 levels, and this is what mainly causes the problems, as the spell itself has 4 levels, then the ultimate ability makes it so that it has 4 versions (original 30 sec cast time, 21 sec cast time, 17 sec, then 13 sec), so there are technically 16 versions of the spell already. And, now there is the "sceptered" version, which also doubles the versions. However, if it makes things simpler, it'd be okay if I wrote it in the item's description that for this hero, it can only be used after Level 4, with Level 3 Imbalance, and that'd need much less work I guess. If it's simpler that way, feel free to help me in that, I'm a really lazy person :). )

So these are my two main problems with the map. Can anybody help?

If I was misunderstandable or I missed something, please tell me and I'll try to tell you about the problem correctly.
 

Raven1

New Member
Reaction score
0
Imbavoker Scepter
Events
Unit - A unit Acquires an item
Conditions
((Triggering unit) has an item of type Pitter's Scepter) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar for (Triggering unit)) Equal to 1
Then - Actions
Unit - Remove TĂĽzvihar from (Triggering unit)
Unit - Add TĂĽzvihar (scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar for (Triggering unit)) Equal to 2
Then - Actions
Unit - Remove TĂĽzvihar from (Triggering unit)
Hero - Modify unspent skill points of (Triggering unit): Add 1 points
Unit - Add TĂĽzvihar (scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar for (Triggering unit)) Equal to 3
Then - Actions
Unit - Remove TĂĽzvihar from (Triggering unit)
Hero - Modify unspent skill points of (Triggering unit): Add 2 points
Unit - Add TĂĽzvihar (scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar for (Triggering unit)) Equal to 4
Then - Actions
Unit - Remove TĂĽzvihar from (Triggering unit)
Hero - Modify unspent skill points of (Triggering unit): Add 3 points
Unit - Add TĂĽzvihar (scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar (ulti1) for (Triggering unit)) Equal to 1
Then - Actions
Unit - Remove TĂĽzvihar (ulti1) from (Triggering unit)
Unit - Add TĂĽzvihar (ulti1 - scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar (ulti1) for (Triggering unit)) Equal to 2
Then - Actions
Unit - Remove TĂĽzvihar (ulti1) from (Triggering unit)
Hero - Modify unspent skill points of (Triggering unit): Add 1 points
Unit - Add TĂĽzvihar (ulti1 - scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar (ulti1) for (Triggering unit)) Equal to 3
Then - Actions
Unit - Remove TĂĽzvihar (ulti1) from (Triggering unit)
Hero - Modify unspent skill points of (Triggering unit): Add 2 points
Unit - Add TĂĽzvihar (ulti1 - scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar for (Triggering unit)) Equal to 4
Then - Actions
Unit - Remove TĂĽzvihar (ulti1) from (Triggering unit)
Hero - Modify unspent skill points of (Triggering unit): Add 3 points
Unit - Add TĂĽzvihar (ulti1 - scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar (ulti2) for (Triggering unit)) Equal to 1
Then - Actions
Unit - Remove TĂĽzvihar (ulti2) from (Triggering unit)
Unit - Add TĂĽzvihar (ulti2 - scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar (ulti2) for (Triggering unit)) Equal to 2
Then - Actions
Unit - Remove TĂĽzvihar (ulti2) from (Triggering unit)
Hero - Modify unspent skill points of (Triggering unit): Add 1 points
Unit - Add TĂĽzvihar (ulti2 - scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar (ulti2) for (Triggering unit)) Equal to 3
Then - Actions
Unit - Remove TĂĽzvihar (ulti2) from (Triggering unit)
Hero - Modify unspent skill points of (Triggering unit): Add 2 points
Unit - Add TĂĽzvihar (ulti2 - scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar (ulti2) for (Triggering unit)) Equal to 4
Then - Actions
Unit - Remove TĂĽzvihar (ulti2) from (Triggering unit)
Hero - Modify unspent skill points of (Triggering unit): Add 3 points
Unit - Add TĂĽzvihar (ulti2 - scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar (ulti3) for (Triggering unit)) Equal to 1
Then - Actions
Unit - Remove TĂĽzvihar (ulti3) from (Triggering unit)
Unit - Add TĂĽzvihar (ulti3 - scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar (ulti3) for (Triggering unit)) Equal to 2
Then - Actions
Unit - Remove TĂĽzvihar (ulti3) from (Triggering unit)
Hero - Modify unspent skill points of (Triggering unit): Add 1 points
Unit - Add TĂĽzvihar (ulti3 - scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar (ulti3) for (Triggering unit)) Equal to 3
Then - Actions
Unit - Remove TĂĽzvihar (ulti3) from (Triggering unit)
Hero - Modify unspent skill points of (Triggering unit): Add 2 points
Unit - Add TĂĽzvihar (ulti3 - scepter) to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of TĂĽzvihar (ulti3) for (Triggering unit)) Equal to 4
Then - Actions
Unit - Remove TĂĽzvihar (ulti3) from (Triggering unit)
Hero - Modify unspent skill points of (Triggering unit): Add 3 points
Unit - Add TĂĽzvihar (ulti3 - scepter) to (Triggering unit)
Else - Actions


This is the first one, in text. And yes, I do realize it can be done much faster, and correctly, the problem is, I don't know how.

The second one:

Auchan
Events
Unit - Auchan 0016 <gen> Dies
Conditions
Actions
Set AuchanKilled = (AuchanKilled + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Killing unit)) Equal to Player 2 (Blue)
(Owner of (Killing unit)) Equal to Player 3 (Teal)
(Owner of (Killing unit)) Equal to Player 4 (Purple)
(Owner of (Killing unit)) Equal to Player 5 (Yellow)
(Owner of (Killing unit)) Equal to Player 6 (Orange)
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AuchanKilled Greater than or equal to 3
Then - Actions
Item - Create Gaben's Pepperoni Pizza at (Center of Auch Pit <gen>)
Else - Actions
Item - Create Aegis of the Madaras TeszkĂł at (Center of Auch Pit <gen>)
Item - Make (Last created item) Undroppable
Quest - Display to (All players) the Hint message: Auchan has been vis...
Player - Add 450 to Player 2 (Blue) Current gold
Player - Add 450 to Player 3 (Teal) Current gold
Player - Add 450 to Player 4 (Purple) Current gold
Player - Add 450 to Player 5 (Yellow) Current gold
Player - Add 450 to Player 6 (Orange) Current gold
Wait 600.00 seconds
Item - Remove (Last created item)
Unit - Create 1 Auchan for Neutral Hostile at (Center of Auch Pit <gen>) facing (Random point in Auch Pit <gen>)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Killing unit)) Equal to Player 8 (Pink)
(Owner of (Killing unit)) Equal to Player 9 (Gray)
(Owner of (Killing unit)) Equal to Player 10 (Light Blue)
(Owner of (Killing unit)) Equal to Player 11 (Dark Green)
(Owner of (Killing unit)) Equal to Player 12 (Brown)
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AuchanKilled Greater than or equal to 3
Then - Actions
Item - Create Gaben's Pepperoni Pizza at (Center of Auch Pit <gen>)
Else - Actions
Item - Create Aegis of the Madaras TeszkĂł at (Center of Auch Pit <gen>)
Item - Make (Last created item) Undroppable
Quest - Display to (All players) the Hint message: Auchan has been vis...
Player - Add 450 to Player 8 (Pink) Current gold
Player - Add 450 to Player 9 (Gray) Current gold
Player - Add 450 to Player 10 (Light Blue) Current gold
Player - Add 450 to Player 11 (Dark Green) Current gold
Player - Add 450 to Player 12 (Brown) Current gold
Wait 600.00 seconds
Item - Remove (Last created item)
Unit - Create 1 Auchan for Neutral Hostile at (Center of Auch Pit <gen>) facing (Random point in Auch Pit <gen>)
Else - Actions
 

Solu9

You can change this now in User CP.
Reaction score
216
Almost there.
Copy the triggers once more and post them in between these tags:
[WC3.][/WC3.] (without the punctuation).
 

Raven1

New Member
Reaction score
0
Trigger:
  • Imbavoker Scepter
    • Events
    • Unit - A unit Acquires an item
    • Conditions
    • ((Triggering unit) has an item of type Pitter&#039;s Scepter) Equal to True
    • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar for (Triggering unit)) Equal to 1
    • Then - Actions
    • Unit - Remove TĂĽzvihar from (Triggering unit)
    • Unit - Add TĂĽzvihar (scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar for (Triggering unit)) Equal to 2
    • Then - Actions
    • Unit - Remove TĂĽzvihar from (Triggering unit)
    • Hero - Modify unspent skill points of (Triggering unit): Add 1 points
    • Unit - Add TĂĽzvihar (scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar for (Triggering unit)) Equal to 3
    • Then - Actions
    • Unit - Remove TĂĽzvihar from (Triggering unit)
    • Hero - Modify unspent skill points of (Triggering unit): Add 2 points
    • Unit - Add TĂĽzvihar (scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar for (Triggering unit)) Equal to 4
    • Then - Actions
    • Unit - Remove TĂĽzvihar from (Triggering unit)
    • Hero - Modify unspent skill points of (Triggering unit): Add 3 points
    • Unit - Add TĂĽzvihar (scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar (ulti1) for (Triggering unit)) Equal to 1
    • Then - Actions
    • Unit - Remove TĂĽzvihar (ulti1) from (Triggering unit)
    • Unit - Add TĂĽzvihar (ulti1 - scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar (ulti1) for (Triggering unit)) Equal to 2
    • Then - Actions
    • Unit - Remove TĂĽzvihar (ulti1) from (Triggering unit)
    • Hero - Modify unspent skill points of (Triggering unit): Add 1 points
    • Unit - Add TĂĽzvihar (ulti1 - scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar (ulti1) for (Triggering unit)) Equal to 3
    • Then - Actions
    • Unit - Remove TĂĽzvihar (ulti1) from (Triggering unit)
    • Hero - Modify unspent skill points of (Triggering unit): Add 2 points
    • Unit - Add TĂĽzvihar (ulti1 - scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar for (Triggering unit)) Equal to 4
    • Then - Actions
    • Unit - Remove TĂĽzvihar (ulti1) from (Triggering unit)
    • Hero - Modify unspent skill points of (Triggering unit): Add 3 points
    • Unit - Add TĂĽzvihar (ulti1 - scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar (ulti2) for (Triggering unit)) Equal to 1
    • Then - Actions
    • Unit - Remove TĂĽzvihar (ulti2) from (Triggering unit)
    • Unit - Add TĂĽzvihar (ulti2 - scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar (ulti2) for (Triggering unit)) Equal to 2
    • Then - Actions
    • Unit - Remove TĂĽzvihar (ulti2) from (Triggering unit)
    • Hero - Modify unspent skill points of (Triggering unit): Add 1 points
    • Unit - Add TĂĽzvihar (ulti2 - scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar (ulti2) for (Triggering unit)) Equal to 3
    • Then - Actions
    • Unit - Remove TĂĽzvihar (ulti2) from (Triggering unit)
    • Hero - Modify unspent skill points of (Triggering unit): Add 2 points
    • Unit - Add TĂĽzvihar (ulti2 - scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar (ulti2) for (Triggering unit)) Equal to 4
    • Then - Actions
    • Unit - Remove TĂĽzvihar (ulti2) from (Triggering unit)
    • Hero - Modify unspent skill points of (Triggering unit): Add 3 points
    • Unit - Add TĂĽzvihar (ulti2 - scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar (ulti3) for (Triggering unit)) Equal to 1
    • Then - Actions
    • Unit - Remove TĂĽzvihar (ulti3) from (Triggering unit)
    • Unit - Add TĂĽzvihar (ulti3 - scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar (ulti3) for (Triggering unit)) Equal to 2
    • Then - Actions
    • Unit - Remove TĂĽzvihar (ulti3) from (Triggering unit)
    • Hero - Modify unspent skill points of (Triggering unit): Add 1 points
    • Unit - Add TĂĽzvihar (ulti3 - scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar (ulti3) for (Triggering unit)) Equal to 3
    • Then - Actions
    • Unit - Remove TĂĽzvihar (ulti3) from (Triggering unit)
    • Hero - Modify unspent skill points of (Triggering unit): Add 2 points
    • Unit - Add TĂĽzvihar (ulti3 - scepter) to (Triggering unit)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (Level of TĂĽzvihar (ulti3) for (Triggering unit)) Equal to 4
    • Then - Actions
    • Unit - Remove TĂĽzvihar (ulti3) from (Triggering unit)
    • Hero - Modify unspent skill points of (Triggering unit): Add 3 points
    • Unit - Add TĂĽzvihar (ulti3 - scepter) to (Triggering unit)
    • Else - Actions


Trigger:
  • Auchan
    • Events
    • Unit - Auchan 0016 &lt;gen&gt; Dies
    • Conditions
    • Actions
    • Set AuchanKilled = (AuchanKilled + 1)
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • Or - Any (Conditions) are true
    • Conditions
    • (Owner of (Killing unit)) Equal to Player 2 (Blue)
    • (Owner of (Killing unit)) Equal to Player 3 (Teal)
    • (Owner of (Killing unit)) Equal to Player 4 (Purple)
    • (Owner of (Killing unit)) Equal to Player 5 (Yellow)
    • (Owner of (Killing unit)) Equal to Player 6 (Orange)
    • Then - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • AuchanKilled Greater than or equal to 3
    • Then - Actions
    • Item - Create Gaben&#039;s Pepperoni Pizza at (Center of Auch Pit &lt;gen&gt;)
    • Else - Actions
    • Item - Create Aegis of the Madaras TeszkĂł at (Center of Auch Pit &lt;gen&gt;)
    • Item - Make (Last created item) Undroppable
    • Quest - Display to (All players) the Hint message: Auchan has been vis...
    • Player - Add 450 to Player 2 (Blue) Current gold
    • Player - Add 450 to Player 3 (Teal) Current gold
    • Player - Add 450 to Player 4 (Purple) Current gold
    • Player - Add 450 to Player 5 (Yellow) Current gold
    • Player - Add 450 to Player 6 (Orange) Current gold
    • Wait 600.00 seconds
    • Item - Remove (Last created item)
    • Unit - Create 1 Auchan for Neutral Hostile at (Center of Auch Pit &lt;gen&gt;) facing (Random point in Auch Pit &lt;gen&gt;)
    • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • Or - Any (Conditions) are true
    • Conditions
    • (Owner of (Killing unit)) Equal to Player 8 (Pink)
    • (Owner of (Killing unit)) Equal to Player 9 (Gray)
    • (Owner of (Killing unit)) Equal to Player 10 (Light Blue)
    • (Owner of (Killing unit)) Equal to Player 11 (Dark Green)
    • (Owner of (Killing unit)) Equal to Player 12 (Brown)
    • Then - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • AuchanKilled Greater than or equal to 3
    • Then - Actions
    • Item - Create Gaben&#039;s Pepperoni Pizza at (Center of Auch Pit &lt;gen&gt;)
    • Else - Actions
    • Item - Create Aegis of the Madaras TeszkĂł at (Center of Auch Pit &lt;gen&gt;)
    • Item - Make (Last created item) Undroppable
    • Quest - Display to (All players) the Hint message: Auchan has been vis...
    • Player - Add 450 to Player 8 (Pink) Current gold
    • Player - Add 450 to Player 9 (Gray) Current gold
    • Player - Add 450 to Player 10 (Light Blue) Current gold
    • Player - Add 450 to Player 11 (Dark Green) Current gold
    • Player - Add 450 to Player 12 (Brown) Current gold
    • Wait 600.00 seconds
    • Item - Remove (Last created item)
    • Unit - Create 1 Auchan for Neutral Hostile at (Center of Auch Pit &lt;gen&gt;) facing (Random point in Auch Pit &lt;gen&gt;)
    • Else - Actions
 

vypur85

Hibernate
Reaction score
803
> Thanks to the trigger however, shortly after, the newly bought item got removed instead of the Aegis,
You'll need variables. Create an 'Item' variable, with a name like 'aegis_var', for example.

Then do this:
Code:
Item - Create Aegis of the Madaras TeszkĂł at (Center of Auch Pit <gen>)
Set aegis_var = (Last created item)**
Item - Make (Last created item) Undroppable
Quest - Display to (All players) the Hint message: Auchan has been vis...
Player - Add 450 to Player 2 (Blue) Current gold
Player - Add 450 to Player 3 (Teal) Current gold
Player - Add 450 to Player 4 (Purple) Current gold
Player - Add 450 to Player 5 (Yellow) Current gold
Player - Add 450 to Player 6 (Orange) Current gold
Wait 600.00 seconds
Item - Remove aegis_var**
The 2 ** are the stuff that I changed/added.
 

Raven1

New Member
Reaction score
0
Hey, thank you very much! That solved the problem. :)

Also, any ideas with the Aghanim's Scepter problem?
 

death_knight

Dark is the heart of a corrupted man.
Reaction score
24
It's been a while since I've written a trigger capable of doing what I'm about to suggest, so I might not be able to help you in that regard, but here's what I propose you do:

  1. Create two versions of the ultimate(s) affected by the Sceptre: one that has the regular stats and the second with improved stats.
  2. Create a trigger that checks whether a hero has the Sceptre. If the hero has the Sceptre and has learned their Ultimate, and if so, what level it is, then unlearn and remove the hero's Ultimate, add the improved Ultimate, then set the level learned to the level it was previously.

    If the hero doesn't have the Sceptre, then get the trigger to make sure the hero has the regular ultimate rather than the improved ultimate.
 

Xan_Kriegor

I can change this now in User CP.
Reaction score
12
Making an Engineering Upgrade (hereafter EU) for his ult should work just fine, I threw some stuff together in a basic testmap and had multiple EU abilities on the same hero at once. You'll want to make a total of 3 EUs: his basic one that is his ult, one that is the scepter version with the one improved spell, and the final one to upgrade his basic ult to the scepter version. The item should grant the final version, and that should be it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top