Item with 5 Abilities?

DarkBELL

New Member
Reaction score
1
Urgh 2 problem on the same days OTL...

I'm sorry guys, I'm trying to re create a map like Dota

and I'm building the item Orchid Malevolence

Its give 20 Intelligence 45 Damage 30% attackspeed 225% mana regeneration AND soul burn

Now thats a total of 5 ability
But World Editor Item only support 4 ability for items, so how can I get my item to 5 ability?
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
Add an item ability - inteligence bonus to the hero when the hero picks up the said item, and remove it when the hero drops the said item. In that fashion you only need 4 abilities for your item.
 

DarkBELL

New Member
Reaction score
1
That work, Thank you

But I got a new Problem with this item, It require 3x Oblivion Staff to forge it, While the Recipe I'm using only support two uses of same item as a recipe

This is the triggered I used (For Monkey King Bar as an example)

Code:
Monkey King Bar
    Events
        Unit - A unit Acquires an item
    Conditions
        ((Triggering unit) has an item of type Demon Edge) Equal to True
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Hero manipulating item) has an item of type Javelin (Custom)) Equal to True
            Then - Actions
                Set JavelinInteger = 0
                For each (Integer A) from 1 to 6, do (Actions)
                    Loop - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                JavelinInteger Equal to 0
                                (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Javelin (Custom)
                            Then - Actions
                                Set JavelinInteger = (JavelinInteger + 1)
                            Else - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    If - Conditions
                                        JavelinInteger Equal to 1
                                        (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Javelin (Custom)
                                    Then - Actions
                                        Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Items\AIem\AIemTarget.mdl
                                        Item - Remove (Item carried by (Triggering unit) of type Javelin (Custom))
                                        Item - Remove (Item carried by (Triggering unit) of type Javelin (Custom))
                                        Item - Remove (Item carried by (Triggering unit) of type Demon Edge)
                                        Hero - Create Monkey King Bar and give it to (Triggering unit)
                                        Set JavelinInteger = 0
                                    Else - Actions
            Else - Actions

This work perfectly in the case of needing TWO javelins which is the same item

but Orchid Malevolence require THREE Oblivion Staff

which I try changing the Integer counts of the code above, but it still doesn't work

So I try writing a whole new code, which, instead of using Loop Integer 1 to 6 to check through each inventory slot, Individually check through EACH slot of the hero and every slot that is Oblivion Staff, an Integer count is add, in the end it check if the count is 3 and if it is, Orchid Malevolence is made and give to the hero

Code:
Orchid Malevolence
    Events
        Unit - A unit Acquires an item
    Conditions
        (Item-type of (Item being manipulated)) Equal to Oblivion Staff
    Actions
        Set OblivionStaff_Integer = 0
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Item-type of (Item carried by (Hero manipulating item) in slot 1)) Equal to Oblivion Staff
            Then - Actions
                Set OblivionStaff_Integer = (OblivionStaff_Integer + 1)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        OblivionStaff_Integer Equal to 3
                    Then - Actions
                        Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Items\AIem\AIemTarget.mdl
                        Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                        Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                        Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                        Hero - Create Orchid Malevolence and give it to (Triggering unit)
                        Set OblivionStaff_Integer = 0
                    Else - Actions
            Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Item-type of (Item carried by (Hero manipulating item) in slot 2)) Equal to Oblivion Staff
                    Then - Actions
                        Set OblivionStaff_Integer = (OblivionStaff_Integer + 1)
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                OblivionStaff_Integer Equal to 3
                            Then - Actions
                                Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Items\AIem\AIemTarget.mdl
                                Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                Hero - Create Orchid Malevolence and give it to (Triggering unit)
                                Set OblivionStaff_Integer = 0
                            Else - Actions
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Item-type of (Item carried by (Hero manipulating item) in slot 3)) Equal to Oblivion Staff
                            Then - Actions
                                Set OblivionStaff_Integer = (OblivionStaff_Integer + 1)
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    If - Conditions
                                        OblivionStaff_Integer Equal to 3
                                    Then - Actions
                                        Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Items\AIem\AIemTarget.mdl
                                        Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                        Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                        Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                        Hero - Create Orchid Malevolence and give it to (Triggering unit)
                                        Set OblivionStaff_Integer = 0
                                    Else - Actions
                            Else - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    If - Conditions
                                        (Item-type of (Item carried by (Hero manipulating item) in slot 4)) Equal to Oblivion Staff
                                    Then - Actions
                                        Set OblivionStaff_Integer = (OblivionStaff_Integer + 1)
                                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                            If - Conditions
                                                OblivionStaff_Integer Equal to 3
                                            Then - Actions
                                                Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Items\AIem\AIemTarget.mdl
                                                Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                                Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                                Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                                Hero - Create Orchid Malevolence and give it to (Triggering unit)
                                                Set OblivionStaff_Integer = 0
                                            Else - Actions
                                    Else - Actions
                                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                            If - Conditions
                                                (Item-type of (Item carried by (Hero manipulating item) in slot 5)) Equal to Oblivion Staff
                                            Then - Actions
                                                Set OblivionStaff_Integer = (OblivionStaff_Integer + 1)
                                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                    If - Conditions
                                                        OblivionStaff_Integer Equal to 3
                                                    Then - Actions
                                                        Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Items\AIem\AIemTarget.mdl
                                                        Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                                        Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                                        Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                                        Hero - Create Orchid Malevolence and give it to (Triggering unit)
                                                        Set OblivionStaff_Integer = 0
                                                    Else - Actions
                                            Else - Actions
                                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                    If - Conditions
                                                        (Item-type of (Item carried by (Hero manipulating item) in slot 6)) Equal to Oblivion Staff
                                                    Then - Actions
                                                        Set OblivionStaff_Integer = (OblivionStaff_Integer + 1)
                                                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                            If - Conditions
                                                                OblivionStaff_Integer Equal to 3
                                                            Then - Actions
                                                                Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Items\AIem\AIemTarget.mdl
                                                                Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                                                Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                                                Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
                                                                Hero - Create Orchid Malevolence and give it to (Triggering unit)
                                                                Set OblivionStaff_Integer = 0
                                                            Else - Actions
                                                    Else - Actions

But when I applied this trigger, when I buy my 3 Oblivion Staff it doesn't form a Orchid Malevolence but stays as 3x Oblivion Staff

Orchid Malevolence is auto recipe

Can somebody help me with this :(
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
Do a game text command to check if the triggers fires off at the if points, when you have 3 staffs. If it does, try using the loop at the end
If - Conditions
OblivionStaff_Integer Equal to 3
Then - Actions
Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Items\AIem\AIemTarget.mdl
Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
Item - Remove (Item carried by (Triggering unit) of type Oblivion Staff)
Hero - Create Orchid Malevolence and give it to (Triggering unit)
Set OblivionStaff_Integer = 0
Else - Actions
Should be put at the end of the trigger. No need to repeat it several times.
 

Grymlax

Probably not around
Reaction score
138
try this trigger instead I've tried it so I know it works.
oblivionstaffint is an integer variable.


Trigger:
  • item merge
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to OblivionStaff
    • Actions
      • Set oblivionstaffint = 0
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Item carried by (Triggering unit) in slot (Integer A))) Equal to OblivionStaff
            • Then - Actions
              • Set oblivionstaffint = (oblivionstaffint + 1)
            • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • oblivionstaffint Equal to 3
        • Then - Actions
          • Item - Remove (Item carried by (Triggering unit) of type OblivionStaff)
          • Item - Remove (Item carried by (Triggering unit) of type OblivionStaff)
          • Item - Remove (Item carried by (Triggering unit) of type OblivionStaff)
          • Hero - Orchid Malevolence and give it to (Triggering unit)
        • Else - Actions
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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!
    +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 Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top