• 🏆 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 this MUI" Part II

Status
Not open for further replies.
Level 4
Joined
May 21, 2015
Messages
70
heya again there is another trigger i want to know if it is MUI, and if not can you help and point out whats wrong.

>

  • Protection Learn
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Protection (Warrior)
    • Actions
      • Trigger - Add to Protection Run <gen> the event (Unit - ProtectionCaster[Index] Takes damage)
  • Protection
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Protection (Warrior)
    • Actions
      • Set Index = (Player number of (Owner of (Casting unit)))
      • Set ProtectionCaster[Index] = (Casting unit)
      • Set ProtectionPercentage[Index] = (ProtectionPercentage[Index] + 0.15)
      • Trigger - Turn on Protection Run <gen>
      • Trigger - Turn on Protection Timer <gen>
  • Protection Run
    • Events
    • Conditions
    • Actions
      • Set ProtectionDamageTaken[Index] = (Damage taken)
      • Countdown Timer - Start ProtectionHealthRestore as a One-shot timer that will expire in 0.00 seconds
  • Protection Restore
    • Events
      • Time - ProtectionHealthRestore expires
    • Conditions
    • Actions
      • Unit - Set life of ProtectionCaster[Index] to ((Life of ProtectionCaster[Index]) + (ProtectionDamageTaken[Index] x ProtectionPercentage[Index]))
  • Protection Timer
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set ProtectionTimer[Index] = (ProtectionTimer[Index] + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ProtectionTimer[Index] Greater than or equal to 15
        • Then - Actions
          • Trigger - Turn off Protection Run <gen>
        • Else - Actions
          • Trigger - Turn off (This trigger)
          • Set ProtectionPercentage[Index] = 0.00
 
Level 13
Joined
Jul 15, 2007
Messages
763
The way you've triggered this ability is very bizarre... why not just use a DDS?

The easiest way to test if a spell is MUI yourself is to test with bots with shared control.

Triggering looks like it's MUI up until Protection Timer because that trigger literally makes no sense to me. It looks like if you have two or three casts going off, Protection Timer may cut off Protection Run whilst other casts are still running.
 
Level 4
Joined
May 21, 2015
Messages
70
I want to make a spell when activated it will reduce all incoming damage by 15% for 15 seconds.

hmm so Protection Timer is not MUI so maybe i need to further index it.

other than Protection Timer is there other problems might occur?
 
Status
Not open for further replies.
Top