permanent frost armor

windale5

New Member
Reaction score
2
I just wanted to know if i can make frost armor like immolation on a item. But I can not have it so you can autocast it on yourself because people would abuse it and just trade it to each other to have the frost armor on them. If so can i know how and if it requires a trigger plz put in code. ty
 

BlackRose

Forum User
Reaction score
239
Errr... you'd need to make a periodic trigger, that makes a dummy that cast Frost Armor on every unit with that item. Not too hard IMO.

...................OR

Frost Armor with 0 duration? <-- Untested
 

Sajberhippie

New Member
Reaction score
30
You COULD use BlackRose's solution, but it would have to be a fast periodic trigger (at least every .5 sec) and that would probably be a waste of prestanda. Another option might be to check if there's a passive ability that slows enemies when attacked, and add it together with Item Armor Bonus +X as well as any art to your item. If there isn't any such skill, you could make a trigger like this, in combination with a slow spell effect:
Trigger:
  • Add Units To Group
    • Event
      • A unit enters (playable map area)
    • Action
      • Add event to trigger - (Entering Unit) is damaged


Trigger:
  • Slow effect
    • Event
    • Condition
      • Damaged unit has (YOUR ITEM)
    • Action
      • Create 1 Dummy at (Position of Damaging Unit)
      • Add (YOUR SLOW ABILITY) to Last Created Unit
      • Order Last Created Unit to (Sorceress - Slow) damaging unit
      • Add a 1.5 seconds expiration timer to Last Created Unit


Of course needs to be de-leaked and such...
 

dragonhord

Knowledge is true opinion. - Plato
Reaction score
82
Errr... you'd need to make a periodic trigger, that makes a dummy that cast Frost Armor on every unit with that item. Not too hard IMO.

...................OR

Frost Armor with 0 duration? <-- Untested

0 duratoin tends to make it last forever... This would actually work quite well assuming Rose is right and it does in fact last forever... If it does all you have to do is make a trigger that, when the unit drops said item, it removes the frost armor buff, and when a unit acquires an item... casts the spell on the hero again... Should remove the frost effect whenever a unit doesn't have the item and keep it up when a unit does... it would pretty much do exactly what you want and not generate a bunch of lag/unit spawn...
 

vypur85

Hibernate
Reaction score
803
0 duration will have buff cancelled off when the unit dies/debuffed etc. So you have to fix those possibilities.

As for damage taken event, the event fires whenever the unit gets damaged, regardless of the source. Imagine if an enemy unit Soul Burn the unit... It will get slowed whenever the periodic damage occurs.

'A unit is attacked' event would be better in my opinion.
 

windale5

New Member
Reaction score
2
maybe

Is this possible
A unit acquires item
item equal to ice armor
cast frost armor on triggering hero/unit
if unit drops/sells item ice armor remove frost armor from unit.


I think i am right. if i am can i get this in code to have it cleaned up.
 

mordocai

New Member
Reaction score
17
units has item cast spell on him.
Unit doesnt have item cast purge on him,(edited ofc)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • WildTurkey WildTurkey:
    is there a stephen green in the house?
    +1
  • The Helper The Helper:
    What is up WildTurkey?
  • The Helper The Helper:
    Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
  • The Helper The Helper:
    Plus - I have a pretty bad ass recipe collection now! That section of the site is 10 thousand times better than it was before
  • 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 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