Is there a way to make attack speed/hp regen/etc unstackable WITHOUT using auras?

Whoareyou.

New Member
Reaction score
24
Without auras? Howabout the item itself? Like doesn't Object Editor have something for stacking? Well for the item section?
Im not sure though.
 

Sim

Forum Administrator
Staff member
Reaction score
534
What do you want to do exactly? It depends on that.
 

NeuroToxin

New Member
Reaction score
46
Just add an ability without an icon, like all the Item abilities, just uncheck the "Is an item - True" part Theres all the things you want there
Edit sorry for double post, my internet had a interfail
 

FarAwaY

TH.net Regular
Reaction score
9
Sorry...I meant this:

Let's say you want to make an item give 50 attack speed. However, if a player acquires that same item 6 times, won't he get 50X60 = 300 attack speed?

Hence, my question is to ask how to make an item give unstackable attack speed bonuses, without using auras (since we all know auras don't stack unless different buffs are used).


P.S.
I should probably say this before anyone gives me an answer...I know we can use an alternative and make it so that each hero can wield each item only once. However, that doesnt really solve the problem since if I were to create 7 different items giving different attack speed bonuses, it will still result in a super high attack speed bonus as long as any player wields all 6 different items.
 

Sim

Forum Administrator
Staff member
Reaction score
534
Nothing prevents you from using auras put into disabled, hidden spellbooks giving no buffs whatsoever.

There you have it, an ability that gives attack speed (or whatever else), without giving a buff and not stacking.
 

muzk

Member
Reaction score
3
You need a dummy item (X) and your item ability (A)
When a unit pick a item , check if the picked item is X and if the unit has A (Level of A for that unit should be greaten than 0). If he pass these conditions, then add A to the unit.
When a unit drop a item, if that item is X, then remove A ability from that unit.
 

FarAwaY

TH.net Regular
Reaction score
9
Nothing prevents you from using auras put into disabled, hidden spellbooks giving no buffs whatsoever.

There you have it, an ability that gives attack speed (or whatever else), without giving a buff and not stacking.

Huh? Im afraid I dont understand.
 

esb

Because none of us are as cruel as all of us.
Reaction score
329
I too am confused on how that helps him with making buffs unstackable without using auras...

Or you mean that spells/abilities/auras that are put into a spellbook will NOT stack (or act as auras)?
 

Sim

Forum Administrator
Staff member
Reaction score
534
> I too am confused on how that helps him with making buffs unstackable without using auras...

My point is: Why not use auras when you can use them with disabled spellbooks and they will act exactly like passive abilities except they won't stack?

Anyways, you can still add them passive abilities in the spellbooks as the auras, but passive abilities tend to stack. :) Making sure they won't stack will require extensive coding, while auras already don't stack!

Why give ourselves more trouble than needed?
 

Sim

Forum Administrator
Staff member
Reaction score
534
It's actually quite the contrary. You add item effects to spellbooks!

Follow the link I provided. It explains spellbooks in detail.
 

Laiev

Hey Listen!!
Reaction score
188
You can use this and just check if the amount of status for that unit is greater then 0 :)
 

Laiev

Hey Listen!!
Reaction score
188
not much...

look:


JASS:
//      Methods:
//     ¯¯¯¯¯¯¯¯¯¯
//          Statuses (short list):
//              - Disable (addDisable, removeDisable, isDisabled)
//              - Stun (addStun, removeStun, isStunned)
//              - Silence (addSilence, removeSilence, isSilenced)
//              - Doom (addDoom, removeDoom, isDoomed)
//              - DisarmMelee (addDisarmMelee, removeDisarmMelee, isDisarmedMelee)
//              - DisarmRange (addDisarmRange, removeDisarmRange, isDisarmedRange)
//              - Disarm (addDisarm, removeDisarm, isDisarmed) // this is both Melee AND Ranged.
//              - Immobolise (addImmobolise, removeImmobolise, isImmobolised)
//              - Invisible (addInvisible, removeInvisible, isInvisible)
//              - Ghost (addGhost, removeGhost, isGhost)
//              - Invulnerable (addInvulnerable, removeInvulnerable, isInvulnerable)
//              - Immunity (addImmunity, removeImmunity, isImmune)
//              - Pause (addPause, removePause, isPaused)
//              - Hide (addHide, removeHide, isHidden)
//              - Unpath (addUnpath, removeUnpath, isUnpathed)
//              - Hex (addHex, removeHex, isHexed)
//              - Locust (addLocust, removeLocust, isLocust) // does not remove correctly for flying units, use with caution.
//              - NeverMiss (addNeverMiss, removeNeverMiss, isNeverMiss)
//              - AlwaysMiss (addAlwaysMiss, removeAlwaysMiss, isAlwaysMiss)
//              - Untouchable (addUntouchable, removeUntouchable, isUntouchable) // 100% evasion
//              - Banish (addBanish, removeBanish, isBanished)
//              - Phase (addPhase, removePhase, isPhased) // clashes with windwalk, interrupts current order
//              - ResistantSkin (addResistantSkin, removeResistantSkin, isResistantSkin)
//              - ReflectPiercing (addReflectPiercing, removeReflectPiercing, isReflectPiercing)
//
//          Bonuses (short list):
//              - ArmorBonus (modArmorBonus, getArmorBonus)
//              - DamageBonus (modDamageBonus, getDamageBonus)
//              - StrBonus (modStrBonus, getStrBonus)
//              - AgiBonus (modAgiBonus, getAgiBonus)
//              - IntBonus (modIntBonus, getIntBonus)
//              - AttackSpeedBonus (modAttackSpeedBonus, getAttackSpeedBonus)
//              - Health (modHealthBonus, getHealthBonus)
//              - Mana (modManaBonus, getManaBonus)'
//              - HealthRegen (modHealthRegenBonus, getHealthRegenBonus)
//              - HealthRegenPercent (modHealthRegenPercentBonus, getHealthRegenPercentBonus) // percent of max
//              - ManaRegen (modManaRegenBonus, getManaRegenBonus)
//              - ManaRegenPercent (modManaRegenPercentBonus, getManaRegenPercentBonus) // percent of max
//              - MoveSpeed (modMoveSpeedBonus, getMoveSpeedBonus)
//              - MoveSpeedPercent (modMoveSpeedPercentBonus, getMoveSpeedPercentBonus) // percent of current move speed (after normal bonuses).
//
//      How to Use:
//     ¯¯¯¯¯¯¯¯¯¯¯¯¯
//          Statuses:
//              Status[unit].add?()
//                  - Adds the status effect to the unit.
//                  - This does not add any animation.
//              Status[unit].remove?()
//                  - Removes the status effect added with .add?().
//                  - Will not actually remove it until all added instances are removed.
//              Status[unit].is?() --> boolean
//                  - Checks to see whether or not a unit has a status effect applied.
//
//          Bonuses:
//              Status[unit].mod?(amount)
//                  - Modifies the bonus by the amount given.
//                  - Use a negative value to reverse a bonus.
//                  - Supports giving negative of a bonus.
//              Status[unit].get?()
//                  - Gets the curret total amount for a given bonus.
//


example in gui:

Trigger:
  • .
    • set TempUnit = Triggering Unit
    • set TempInteger = 10
    • Custom Script: call Status[udg_TempUnit].modAttackSpeedBonus(udg_TempInteger)


/\ this will just add 10 of Attack Speed to the unit TempUnit

to prevent stack things... do this:

Trigger:
  • .
    • set TempUnit = Triggering Unit
    • set TempInteger = 10
    • Custom Script: if Status[udg_TempUnit].getAttackSpeedBonus() == 0 then
    • Custom Script: call Status[udg_TempUnit].modAttackSpeedBonus(udg_TempInteger)
    • Custom Script: endif


/\ this will check if the unit attack speed bonus by this system is equal to 0, if so, will add 10 of Attack Speed to the TempUnit, if greater then 0 then will do nothing
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
Nothing prevents you from using auras put into disabled, hidden spellbooks giving no buffs whatsoever.

There you have it, an ability that gives attack speed (or whatever else), without giving a buff and not stacking.
How do you create an aura that affects a unit yet does not apply a buff? (This question excludes wholly triggered auras.)

I'm sorry, I believe what you've suggested is impossible in WC3.
 

Laiev

Hey Listen!!
Reaction score
188
some auras has no display buff

like tornado aura, regeneration of fountain
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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!
    +1
  • 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
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top