Mpi

PooBucket

New Member
Reaction score
12
Trigger:
  • Brilliance Aura
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Human Archmage - Brilliance Aura
    • Actions
      • Hero - Modify Intelligence of (Triggering unit): Add 3
      • Set ArchmageType = (Player number of (Owner of (Triggering unit)))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ArchmageType Equal to 1000
        • Then - Actions
          • Set ArchmageType = 0
        • Else - Actions
          • Set ArchmageType = (ArchmageType + 1)
      • Set ArchmageBrill[ArchmageType] = (Triggering unit)


Trigger:
  • Brilliance Mana
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • BrillianceMUI Equal to 1000
        • Then - Actions
          • Set BrillianceMUI = 0
        • Else - Actions
          • Set BrillianceMUI = (BrillianceMUI + 1)
      • Set BrillianceArea[BrillianceMUI] = (Position of ArchmageBrill[ArchmageType])
      • Set BrillianceAuraGroup[BrillianceMUI] = (Units within 600.00 of BrillianceArea[BrillianceMUI] matching (((Matching unit) has buff Brilliance Aura) Equal to True))
      • Unit Group - Pick every unit in BrillianceAuraGroup[BrillianceMUI] and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Level of Brilliance Aura mana for (Picked unit)) Equal to 1
                  • (Level of Brilliance Aura mana 2 for (Picked unit)) Equal to 1
                  • (Level of Brilliance Aura mana 3 for (Picked unit)) Equal to 1
            • Then - Actions
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of Brilliance Aura for ArchmageBrill[ArchmageType]) Equal to 1
                • Then - Actions
                  • Unit - Add Brilliance Aura mana to (Picked unit)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Level of Brilliance Aura for ArchmageBrill[ArchmageType]) Equal to 2
                    • Then - Actions
                      • Unit - Add Brilliance Aura mana 2 to (Picked unit)
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • (Level of Brilliance Aura for ArchmageBrill[ArchmageType]) Equal to 3
                        • Then - Actions
                          • Unit - Add Brilliance Aura mana 3 to (Picked unit)
                        • Else - Actions
      • Custom script: call RemoveLocation (udg_BrillianceArea[udg_BrillianceMUI])
      • Custom script: call DestroyGroup (udg_BrillianceAuraGroup[udg_BrillianceMUI])
      • Set Map = (Playable map area)
      • Set BrillianceAuraGroup[BrillianceMUI] = (Units in Map matching (((Matching unit) has buff Brilliance Aura) Equal to False))
      • Unit Group - Pick every unit in BrillianceAuraGroup[BrillianceMUI] and do (Actions)
        • Loop - Actions
          • Unit - Remove Brilliance Aura mana from (Picked unit)
          • Unit - Remove Brilliance Aura mana 2 from (Picked unit)
          • Unit - Remove Brilliance Aura mana 3 from (Picked unit)
          • Custom script: call RemoveLocation (udg_Map)
          • Custom script: call DestroyGroup (udg_BrillianceAuraGroup[udg_BrillianceMUI])


This passive has gotten me REALLY CONFUSED. I'm trying to allow all people to use it. (Yes, I know it looks kinda yucky and messy, but that's cause I THINK that you can't level up the + mana capacity item spells.)
This brilliance aura just increases mana capacity and +3 points of int. MUI and MPI are confusing me here :O. Help's appreciated.

Else, I'll make 8 individual triggers :(
 

Stringel

New Member
Reaction score
12
I don't really get it, do you want everyone with the brilliance aura buff to get 3 int and mana capacity? By the way, what's ArchmageType, isnt that supposed to be an integer? It's very hard to get what you're trying to achieve here.


Isnt it just easier to have a periodic event that detects wether a unit has the brilliance aura buff and add mana and int, you can change the mana capacity and int into abilities and use spellbooks to disable them. In that way you can detect if a unit has already gained the effect.
 

Tyrulan

Ultra Cool Member
Reaction score
37
Honestly - I don't know how MUI is achieved in GUI. I only know it is much, much simpler in JASS. >< Sorry.
 

PooBucket

New Member
Reaction score
12
I don't really get it, do you want everyone with the brilliance aura buff to get 3 int and mana capacity? By the way, what's ArchmageType, isnt that supposed to be an integer? It's very hard to get what you're trying to achieve here.


Isnt it just easier to have a periodic event that detects wether a unit has the brilliance aura buff and add mana and int, you can change the mana capacity and int into abilities and use spellbooks to disable them. In that way you can detect if a unit has already gained the effect.

ArchmageType is player unit, so therefore, yes it is an integer.

"Isn't it just easier etc..."
Well... that's what I've done, but more than one person could use the Archmage Hero and get brilliance aura, thus the units will always have the extra mana capacity. I've used the "spellbooks" mana capacity one which doesn't show up on the skill list.

Brilliance Aura is the same as the one in melee maps. However, these two are just added bonuses (+int ONLY TO HERO, and +mana capacity to friendly units around, which includes archmage.)
 

canons200

New Member
Reaction score
50
for now, the person i think can help you in creating MUI GUI spell is Glenphir. Glenphir created a lot of MUI GUI spell in forum.
 

Endless_Trev

New Member
Reaction score
5
Not too sure, but i think you can just use locals within custom scripts, which is already half way to JASS anyway, or you can use hashtables. For gui, hashtables are god, you can save the key of a handle as a position of a position in the table, so if you want to store some information of a couple of units for a specific unit, you would store them as (key of (picked unit)) of (key of (specific unit)) in (hashtable). Although more complicated than JASS pretty much anything you want is accomplishable (that is possible in jass :p)
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
i can prob make it from scratch fast if you tell me what it should do.
 

PooBucket

New Member
Reaction score
12
i can prob make it from scratch fast if you tell me what it should do.

Brilliance Aura is from the Archmage hero, but I made a few bonuses for this one. Any units under brilliance aura gets +100, 150, 200 mana capacity. When Archmage learns it he gets +3 int per level.
It's simple, but for all players to use is kinda tricky. Unless I make one trigger for player 1, player 2, etc.
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
Brilliance Aura is from the Archmage hero, but I made a few bonuses for this one. Any units under brilliance aura gets +100, 150, 200 mana capacity. When Archmage learns it he gets +3 int per level.
It's simple, but for all players to use is kinda tricky. Unless I make one trigger for player 1, player 2, etc.

Code:
Learn trigger
    Events
        Unit - A unit learns an abilty
    Conditions
        learned ability Equal to Brilliance Aura
        level of Brilliance Aura for Triggering unit lesser than or equal to 1
    Actions
        Hero - Modify Intelligence of (Triggering unit): Add 3 
        Unit Group - Add Trigger unit to LGroup
        If then else multi... actions
        If (Got aura Trigger is on Equals false)
        then - Trigger - Turn on Got aura Trigger <gen>

Code:
Got aura Trigger
    Events
        Time - Every 0.14 seconds of game time
    Conditions
    Actions
        Unit Group - Pick every unit in LGroup and do actions
            Loop - Actions
                Temp_point = position of picked unit
                CustomScript: set bj_wantDestroyGroup=true
                Unit Group - Pick every Units within 800.00 of Temp_point matching  (Matching unit has the buff Brilliance Aura Equal to true)) and do (Actions)
                    Loop - Actions
                        if level of bonus mana ability for picked unit equal to 0 then add bonus mana ability
                        Unit Group - Add picked unit to Temp_UnitGroup
                Unit Group - Pick every unit in Temp_UnitGroup and do (Actions)
                    Loop - Actions
                        If unit has the buff Brilliance Aura Equal to false
                        then remove bonus mana ability
                CustomScript: call RemoveLocation(udg_Temp_point)

handwrighted
 

PooBucket

New Member
Reaction score
12
That's all and great thanks :D, but the problem comes when there are certain levels to brilliance aura :p
If level of brill = 2 then set mana bonus level to 2. But if one player's brillance aura is level one and the other player's is level 3 then they'd overwrite each other :(. Is it possible to achieve it with hashtables?
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
there sure is ways to achive this on many diffrent ways, i dont have WE at this computer but i can take a look at it when i come home (in around 4h).
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
sorry i had/have some examens coming up so i didn't have time fix it, if someone haven't fixed it until tonight, i will take my time fix it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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!
    +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

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top