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
  • The Helper The Helper:
    We now have a web designer at my job. A legit talented professional! I am going to get him to redesign the site theme. It is time.
  • Varine Varine:
    I got one more day of community service and then I'm free from this nonsense! I polished a cop car today for a funeral or something I guess
  • Varine Varine:
    They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled
  • The Helper The Helper:
    whatever at least you are free
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm

      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