how do I do an Aghanim's Scepter item?

Smilis

TH.net Regular
Reaction score
7
Hello everyone on Thehelper.net! I need help, I want to do an item that is like the Aghanim's Scepter in Dota Allstars. For you who dont know what the Aghanim's Scepter does, it incrice the ultis. Like if the ulti usaly does 200damage, it will do 300damage instead.

Thanks if you could help.
 

Emu.Man00

New Member
Reaction score
41
You just need to make a new spell that does the exact same thing, but with more damage or w/e u wanna change
Code:
event-unit gains an item
condition-item gained equal to aghanim's scepter
actions-
IF-unit type of triggering unit equal to Lich
THEN-remove spell Chain frost from triggering unit
         add spell Chain frost[scepter] to triggering unit
ELSE-(repeat for each hero)

Also if you got multiple levels for the spell being upgraded then add an if/then/else statement for each level of the spell or they can just abuse getting scepter but not ulti at all, and it will be stronger than the highest level
 

Smilis

TH.net Regular
Reaction score
7
Thanks...

Also if you got multiple levels for the spell being upgraded then add an if/then/else statement for each level of the spell or they can just abuse getting scepter but not ulti at all, and it will be stronger than the highest level

But how do I do that, cuse when I try to make something like that, it removes so you cant learn it anymore, so then it still dont adds any levels...
 

Emu.Man00

New Member
Reaction score
41
You'd make as many levels on the scepter skill as on the non scepter skill then
i think you'd need an integer variable (cfrost) for each spell and then add this trigger somewhere

Code:
event-a unit learns a spell
condition-
actions-
IF-learned spell equal to Chain frost
Then-set cfrost = cfrost +1
ELSE-(repeat for every hero)
then back in the other trigger
Code:
IF-unit type of triggering unit equal to Lich
THEN-remove spell Chain frost from triggering unit
     add spell Chain frost[scepter] to triggering unit
     set level of chain frost[scepter] to (cfrost) 
ELSE

I think that covers it all :S
 

Smilis

TH.net Regular
Reaction score
7
You'd make as many levels on the scepter skill as on the non scepter skill then
i think you'd need an integer variable (cfrost) for each spell and then add this trigger somewhere

Code:
event-a unit learns a spell
condition-
actions-
IF-learned spell equal to Chain frost
Then-set cfrost = cfrost +1
ELSE-(repeat for every hero)
then back in the other trigger
Code:
IF-unit type of triggering unit equal to Lich
THEN-remove spell Chain frost from triggering unit
     add spell Chain frost[scepter] to triggering unit
     set level of chain frost[scepter] to (cfrost) 
ELSE

I think that covers it all :S

Hmm, well, you get the level of the ability when you has the item.But the real spell doesn't get away when someone has the item... And the real spell starts at level 1 agen... >_<
 

WarLuvr3393

Hmmm...too many things to play (WoW, COD4, WC3)
Reaction score
54
Smilis said:
Hmm, well, you get the level of the ability when you has the item.But the real spell doesn't get away when someone has the item... And the real spell starts at level 1 agen... >_<

Re-phrase please, I can't understand this...
 

Smilis

TH.net Regular
Reaction score
7
Re-phrase please, I can't understand this...

Haha xD lol okay :p
We say like this:

I have an abilit that has the name "Lightning Ball".
It has 3levels and does
level 1 - 100dmg
level 2 - 200dmg
level 3 - 400dmg

If you buy an item named Upgrade ulti (Aghanim's Scepter) you will do:
level 1 - 250dmg
level 2 - 500dmg
level 3 - 1000dmg

When I have the item "Upgrade ulti" I get the level of the "new" ability where the "old" ability where. And it's how it is going to be.

But if you go into the ability-book (or what the name is where you learn the unlearned spells xD) you have level 1 agen on the "old" ability "Lightning Ball".

Did you understand now? ^^
 

Kahiera

Active Member
Reaction score
9
make a new ability starting with the default Engineering Upgrade spell... then just change what you want
 

Kahiera

Active Member
Reaction score
9
with the Engineer Upgrade spell, to upgrade the spells, you need to have the unupgraded spell and the upgraded spell. make new triggers that apply for the upgraded ones also
 

Smilis

TH.net Regular
Reaction score
7
with the Engineer Upgrade spell, to upgrade the spells, you need to have the unupgraded spell and the upgraded spell. make new triggers that apply for the upgraded ones also

Still dont get it... Am I going to have the ability in the item or?
 

Kahiera

Active Member
Reaction score
9
to explain it easier, could you tell me an example of one of your triggers and the spell for it?
 

Smilis

TH.net Regular
Reaction score
7
to explain it easier, could you tell me an example of one of your triggers and the spell for it?

Well I have get it all now ^^
So you dont need that :p

But the thing now is:
You can pick level 1.. and you will get the "new" level 1.
You can pick level 2 and get the "new" level 2.
But before you can pick level3, you have to pick level 2 agen (in the unlearned skills).
 

Kahiera

Active Member
Reaction score
9
But before you can pick level3, you have to pick level 2 agen (in the unlearned skills).
do you mean that for the first 2 levels they dont have a requirement but for the 3rd level it needs one?
 

Smilis

TH.net Regular
Reaction score
7
ok now im confused... can you explain in more detail?

Haha well, I have fix it agen :p But everytime I fix something a new problem comes... >_<
If the unit owns the item before he gains any level of the ulti, he can upgrade his "new" ulti.. but if he has picked one upgrade and then the ulti, he will only have the 1 "new" ulti.. so if you have a triger or something that can unlearn the ulti/that spell I would be happy :p
 

Kahiera

Active Member
Reaction score
9
so what you mean is
if the hero has the item, then gets the ulti, he gets the 'upgraded' ulti
but if he doesn't have the item, gets the ulti, then gets the item, he doesn't get the 'upgraded' ulti?

if so then i dont know how to solve that
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top