• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Is that hastable spell MUI?

Status
Not open for further replies.
Level 14
Joined
Aug 8, 2010
Messages
1,022
Hi! I want to ask if my spell is MUI, because i don't think that the part where the dummies cast the dummy stun is MUI.... +rep of course!
  • The base EK trigg
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Evil kiss [SQueen]
    • Actions
      • Hashtable - Save Handle Of(Triggering unit) as 1 of 1 in EvilKissHASH
      • Hashtable - Save Handle Of(Target unit of ability being cast) as 1 of 2 in EvilKissHASH
      • Hashtable - Save (Level of Evil kiss [SQueen] for (Load 1 of 1 in EvilKissHASH)) as 2 of 1 in EvilKissHASH
      • Unit - Create 1 Dummy for (Owner of (Load 1 of 1 in EvilKissHASH)) at (Position of (Load 1 of 1 in EvilKissHASH)) facing Default building facing degrees
      • Hashtable - Save Handle Of(Last created unit) as 3 of 1 in EvilKissHASH
      • Unit - Add a 4.00 second Generic expiration timer to (Load 3 of 1 in EvilKissHASH)
      • Unit - Add slow 4 EvilKISS dummy to (Load 3 of 1 in EvilKissHASH)
      • Unit - Order (Load 3 of 1 in EvilKissHASH) to Human Sorceress - Slow (Load 1 of 2 in EvilKissHASH)
  • The loop EK trigg
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
      • ((Load 1 of 2 in EvilKissHASH) has buff Evil kiss ) Equal to True
    • Actions
      • Hashtable - Save (Random integer number between 1 and 100) as 2 of 2 in EvilKissHASH
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Load 2 of 2 from EvilKissHASH) Greater than (17 - (2 x (Load 2 of 1 from EvilKissHASH)))
        • Then - Actions
          • Unit - Create 1 Dummy for (Owner of (Load 1 of 1 in EvilKissHASH)) at (Position of (Load 1 of 1 in EvilKissHASH)) facing Default building facing degrees
          • Hashtable - Save Handle Of(Last created unit) as 3 of 2 in EvilKissHASH
          • Unit - Add a 4.00 second Generic expiration timer to (Load 3 of 2 in EvilKissHASH)
          • Unit - Add storm bolt dummy EVILkISS to (Load 3 of 2 in EvilKissHASH)
          • Unit - Order (Load 3 of 2 in EvilKissHASH) to Human Mountain King - Storm Bolt (Load 1 of 2 in EvilKissHASH)
        • Else - Actions
          • Unit - Remove Evil kiss buff from (Load 1 of 2 in EvilKissHASH)
          • Game - Display to (All players) the text: trigg stoped [[[(((I use that to see if it's working...)))]]]
  • The attack EK trigg
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Attacked unit) Equal to (Load 1 of 2 in EvilKissHASH)
    • Actions
      • Unit - Remove Evil kiss buff from (Load 1 of 2 in EvilKissHASH)
This is the tooltip of the spell : "Evily kiss your target. 'Hypnosed' by your kiss, your target wont be able to do anything for 5/6/7/8/9/10 seconds, but there is 15/13/11/9/7/5% chance per second for the effect to break. Also every attack/spell will remove the effect!"
 
Level 14
Joined
Aug 8, 2010
Messages
1,022
Is it MUI now? If it isn't - please create the trigger for me, i will post my map! :)
  • The base EK trigg
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Evil kiss [SQueen]
    • Actions
      • Hashtable - Save Handle Of(Triggering unit) as 1 of 1 in EvilKissHASH
      • Unit Group - Add (Load 1 of 1 in EvilKissHASH) to EvilKissGROUP[0]
      • Hashtable - Save Handle Of(Target unit of ability being cast) as 1 of 2 in EvilKissHASH
      • Unit Group - Add (Load 1 of 2 in EvilKissHASH) to EvilKissGROUP[1]
      • Hashtable - Save (Level of Evil kiss [SQueen] for (Load 1 of 1 in EvilKissHASH)) as 2 of 1 in EvilKissHASH
      • Unit Group - Pick every unit in EvilKissGROUP[0] and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy for (Owner of (Picked unit)) at (Position of (Picked unit)) facing Default building facing degrees
          • Hashtable - Save Handle Of(Last created unit) as 3 of 1 in EvilKissHASH
          • Unit Group - Add (Load 3 of 1 in EvilKissHASH) to EvilKissGROUP[2]
          • Unit Group - Pick every unit in EvilKissGROUP[2] and do (Actions)
            • Loop - Actions
              • Unit - Add a 4.00 second Generic expiration timer to (Picked unit)
              • Unit - Add slow 4 EvilKISS dummy to (Picked unit)
              • Unit - Order (Picked unit) to Human Sorceress - Slow (Load 1 of 2 in EvilKissHASH)
              • Unit Group - Remove (Picked unit) from EvilKissGROUP[2]
  • The loop EK trigg
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
      • ((Load 1 of 2 in EvilKissHASH) has buff Evil kiss ) Equal to True
    • Actions
      • Hashtable - Save (Random integer number between 1 and 100) as 2 of 2 in EvilKissHASH
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Load 2 of 2 from EvilKissHASH) Greater than (17 - (2 x (Load 2 of 1 from EvilKissHASH)))
        • Then - Actions
          • Unit - Create 1 Dummy for (Owner of (Load 1 of 1 in EvilKissHASH)) at (Position of (Load 1 of 1 in EvilKissHASH)) facing Default building facing degrees
          • Hashtable - Save Handle Of(Last created unit) as 3 of 2 in EvilKissHASH
          • Unit Group - Add (Load 3 of 2 in EvilKissHASH) to EvilKissGROUP[3]
          • Unit Group - Pick every unit in EvilKissGROUP[3] and do (Actions)
            • Loop - Actions
              • Unit - Add a 4.00 second Generic expiration timer to (Picked unit)
              • Unit - Add storm bolt dummy EVILkISS to (Picked unit)
              • Unit - Order (Picked unit) to Human Mountain King - Storm Bolt (Load 1 of 2 in EvilKissHASH)
              • Unit Group - Remove (Picked unit) from EvilKissGROUP[3]
        • Else - Actions
          • Unit - Remove Evil kiss buff from (Load 1 of 2 in EvilKissHASH)
          • Game - Display to (All players) the text: trigg stoped
  • The attack EK trigg
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • Unit - Remove Evil kiss buff from (Attacked unit)
 
Last edited:
Well, first off, you are continuously stunning the unit, there is no reason to do that. If you want a more "permanent" buff, you can add a passive ability on the unit with Targets allowed = Self (so that it affects that unit only) and just rename the buff, etc.
The other part can make use of Bribe's or Weep's Damage detection system(s), so as to remove the buff when the unit gets damage from any kind of source. Additionally, use a trigger that
  • Tr
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • ((Target unit of ability being cast) is in EvilKissGroup) Equal to True
    • (Ability being cast) Not Equal to Evil Kiss (Q)
  • Actions
    • Unit Group - Remove (Target unit of ability being cast) from EvilKissGroup
    • Unit - Remove Evil Kiss (buff) from (Target unit of ability being cast)
The saving/loading of values can be like:
  • Evil Kiss
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Evil Kiss (Q)
  • Actions
    • Set Target = (Target unit of ability being cast)
    • Set Duration = ((Level of (Ability being cast) for (Triggering unit)) + 4)
    • Set Chance = (-2 x (Level of (Ability being cast) for (Triggering unit)) + 17)
    • Hashtable - Save Duration as 0 of (Target unit of ability being cast) in EvilKissHash
    • Hashtable - Save Chance as 1 of (Target unit of ability being cast) in EvilKissHash
    • Unit Group - Add Target to EvilKissGroup
    • Set Point1 = (Position of Target)
    • Unit - Create 1 Dummy for (Triggering player) at Point1 facing Default facing building degrees
    • Set Dummy = (Last created unit)
    • Unit - Add Storm Bolt (Dummy) to Dummy
    • Unit - Set level of Storm Bolt (Dummy) for Dummy to (Level of (Ability being cast) for (Triggering unit))
    • Unit - Order Dummy to Human Mountain King - Storm Bolt Target
    • Unit - Add a 2.00 seconds generic expiration timer to Dummy
    • Custom script: call RemoveLocation (udg_Point1)
  • Evil Kiss Loop
  • 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
        • (EvilKissGroup is empty) Equal to False
      • Then - Actions
        • Unit Group - Pick every unit in EvilKissGroup and do (Actions)
          • Loop - Actions
            • Set Duration = (Load 0 of (Key(Picked unit)) from EvilKissHash)
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • Duration Greater than 0
              • Then - Actions
                • Hashtable - Save (Duration - 1) as 0 of (Key(Picked unit)) in EvilKissHash
                • Set Chance = (Load 1 of (Key(Picked unit)) from EvilKissHash)
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • (Random integer from 1 to 100) Less than or Equal to Chance
                  • Then - Actions
                    • Unit Group - Remove (Picked unit) from EvilKissGroup
                    • Unit - Remove Evil Kiss (buff) from (Picked unit)
                    • Hashtable - Clear all child hashtables of (Key(Picked unit)) in EvilKissHash
                  • Else - Actions
              • Else - Actions
                • Unit Group - Remove (Picked unit) from EvilKissGroup
                • Unit - Remove Evil Kiss (buff) from (Picked unit)
                • Hashtable - Clear all child hashtables of (Key(Picked unit)) in EvilKissHash
      • Else - Actions
        • Trigger - Turn off (This trigger)
If you use the passive ability I told you about, remove the ability and the buff (for a more instant effect).
 
Status
Not open for further replies.
Top