Staking spells how to make?

millzy

Ultra Cool Member
Reaction score
44
how would i go about creating a spell that increases the heros attack speed depending on the % of hit points it has left

also how would i create a spell that is based off cold arrows but the movment speed decrease stacks

also a burning spell that burns a target over time and it stacks if casted on the same unit more than once
 

Bogrim

y hello thar
Reaction score
154
1. You can use an aura with multiple levels and increase the level of the ability when the hero drops in health.

2. You need a way to count the stacks on a unit, like an integer array with an indexer or a hashtable. Then you can either apply different levels of the buff or you can trigger the movement speed reduction by altering the unit's speed.

3. Same as before.
 

NeuroToxin

New Member
Reaction score
46
Bogrim, he could always use the spell Incinerate, then just add the effects of the burning, seems like it would be easier
 

millzy

Ultra Cool Member
Reaction score
44
1. You can use an aura with multiple levels and increase the level of the ability when the hero drops in health.

2. You need a way to count the stacks on a unit, like an integer array with an indexer or a hashtable. Then you can either apply different levels of the buff or you can trigger the movement speed reduction by altering the unit's speed.

3. Same as before.
1 so im going to need like 100 lvls?

2.i dont have much of an idea of what yer talking about here

EDIT: another thing how can i make somthing like gloves of hast stack
 

Bogrim

y hello thar
Reaction score
154
1 so im going to need like 100 lvls?
You could make 10 levels and simply categorize it into 1-10%, 11-20%, etc.

For hashtables / array indexers, I suggest you just search and read up on how to create such triggers. It's a chapter of its own, necessary to create MUI triggers of that kind.
 

AoW_Hun7312

I'm a magic man, I've got magic hands.
Reaction score
76
The cold arrows are stackable. Look under the spell and you'll see a field that lets you specify what values you want to stack (Movement Speed, Attack Speed, etc.)
 

millzy

Ultra Cool Member
Reaction score
44
You could make 10 levels and simply categorize it into 1-10%, 11-20%, etc.

For hashtables / array indexers, I suggest you just search and read up on how to create such triggers. It's a chapter of its own, necessary to create MUI triggers of that kind.
i want the attack speed to be right

i know hot to trigger GUI MUI spells but not stacking spells
 

Ashlebede

New Member
Reaction score
43
BonusMod uses a "binary" way to add abilities which edit a unit's stats. The abilities could be like this :

Code:
1=Claws of Attack +1
2=Claws of Attack +2
3=Claws of Attack +4
4=Claws of Attack +8
5=Claws of Attack +16
And so on, multiplying it every time by 2. Then, BonusMod will add these abilities to any unit you want bonuses applied to. For instance, if you wanted to get +15 atk, you would get this calculation:

Code:
15 = 8+4+2+1
So BonusMod would add the ability of Claws of atk +8, then the one with +4, then the one with +2, and finally the one with +1. It will make a total of +15 atk damage.

This allows to have custom bonuses to a unit's stats without needing percentages. Your atk speed would be easy to trigger that way, though it would require custom script.

Note that the abilities have to be preloaded (though I think BonusMod already does that) and those abilities have to be based on item abilities, such as Gloves of Haste for atk spd.

If you want, I could configure it for you so it uses atk speed and such instead of the default stats.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Happy Sunday!
    +1
  • The Helper The Helper:
    I will be out of town until Sunday evening
    +1
  • The Helper The Helper:
    I am back! Did you miss me LOL
    +1
  • jonas jonas:
    where did you go?
  • The Helper The Helper:
    Jefferson TX on a Paranormal Investigation of a haunted bed and breakfast - I got some friends that are paranormal investigators and they have an RV and do YouTubes
    +1
  • The Helper The Helper:
    It was a lot of fun. The RV was bad ass
  • jonas jonas:
    That sounds like fun!
    +1
  • The Helper The Helper:
    it was a blast!
  • The Helper The Helper:
    I am going to post the Youtube of the investigation in the forums when it is ready
    +1
  • jonas jonas:
    cool!
  • vypur85 vypur85:
    Sounds cool TH.
  • tom_mai78101 tom_mai78101:
    I was on a Legend of Zelda marathon...
  • tom_mai78101 tom_mai78101:
    Am still doing it now
    +1
  • jonas jonas:
    which one(s) are you playing?
  • jonas jonas:
    I played a little bit of the switch title two weeks ago and found it quite boring
  • The Helper The Helper:
    just got back from San Antonio this weekend had the best Buffalo Chicken Cheesesteak sandwhich in Universal City, TX - place was called Yous Guys freaking awesome! Hope everyone had a fantastic weekend!
    +1
  • The Helper The Helper:
    Happy Tuesday!
  • The Helper The Helper:
    We have been getting crazy numbers reported by the forum of people online the bots are going crazy on us I think it is AI training bots going at it at least that is what it looks like to me.
  • The Helper The Helper:
    Most legit traffic is tracked on multiple Analytics and we have Cloud Flare setup to block a ton of stuff but still there is large amount of bots that seem to escape detection and show up in the user list of the forum. I have been watching this bullshit for a year and still cannot figure it out it is drving me crazy lol.
    +1
  • Ghan Ghan:
    Beep boop
    +1
  • The Helper The Helper:
    hears robot sounds while 250 bots are on the forum lol
  • The Helper The Helper:
    Happy Saturday!
    +1
  • The Helper The Helper:
    and then it was Thursday...
    +2

    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