• 🏆 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!

Flurry Spell

Status
Not open for further replies.
Level 6
Joined
May 11, 2010
Messages
236
Hey guys, anyone mind helping me with this trigger? I'm trying to create a Flurry type spell; a chance when the hero attacks to deal an equal amount of damage to what they just did on the same target. I don't want to use bash because even if the stun is set to 0.01 it interupts spell casts. Here it is, i'm unsure of why it's not working.


  • Flurry Rank 1
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Attacking unit) Equal to The Watcher 0001 <gen>
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 100) Less than or equal to 15
        • Then - Actions
          • Animation - Play The Watcher 0001 <gen>'s attack -2 animation
          • Special Effect - Create a special effect attached to the hand,right of The Watcher 0001 <gen> using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl
          • Special Effect - Destroy (Last created special effect)
          • Unit - Cause The Watcher 0001 <gen> to damage (Attacked unit), dealing ((Random real number between 50.00 and 100.00) + 1.00) damage of attack type Hero and damage type Normal
  • Else - Actions
Nevermind, I worked out an alternative, which I also decided was better for the spell. I posted what I changed it to so if anyone else wants to use this they can, not that it's hard to make or anything :)
 
Last edited:
Level 6
Joined
May 11, 2010
Messages
236
C'mon dude, why don't you use Critical Strike?

Because critical strike is boring and it doesn't allow a special effect when it's proc'd. Plus I didn't want double damage, I wanted an extra attack, because it's flurry, not critical strike. Despite the fact they do generally the same thing, it's fun to have customized spells. - Also added an effect that makes the extra attack ignore armor.
 
Level 6
Joined
May 11, 2010
Messages
236
I did make it. It's not exactly how I planned it at the beginning but it works for my hero, read my edit.
 
Level 7
Joined
Dec 24, 2009
Messages
257
You don't get me, do you?
The "When an unit is attacked" event works like this: when an unit is starting to be attacked, means when the attacking unit starts its animation; and that means the trigger will be activated BEFORE the attacking unit deals damage...
So, controller only have to press "S" to order the unit to stop; after it stops it will auto attack an unit near it, and activate the trigger; before it deals damage, it's stopped again... so it will ruin the gameplay
 
Level 2
Joined
Feb 10, 2009
Messages
10
You need a damage detection system (which can be made in GUI as well, but it's a bit more complicated). Once you use that it'll work fine. Right now it doesn't match your spell description, because it won't do the exact same damage again.
 
Level 19
Joined
Feb 4, 2009
Messages
1,313
You should use

  • (Random integer number between 1 and 100) Less than 15
Because otherwise it will be 16%

I've lerened that from Soulburn



  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14



  1. 15
  2. 16
  3. 17
  4. 18
  5. 19
  6. 20
  7. 21
  8. 22
  9. 23
  10. 24
  11. 25
  12. 26
  13. 27
  14. 28
  15. 29
  16. 30
  17. 31
  18. 32
  19. 33
  20. 34
  21. 35
  22. 36
  23. 37
  24. 38
  25. 39
  26. 40
  27. 41
  28. 42
  29. 43
  30. 44
  31. 45
  32. 46
  33. 47
  34. 48
  35. 49
  36. 50
  37. 51
  38. 52
  39. 53
  40. 54
  41. 55
  42. 56
  43. 57
  44. 58
  45. 59
  46. 60
  47. 61
  48. 62
  49. 63
  50. 64
  51. 65
  52. 66
  53. 67
  54. 68
  55. 69
  56. 70
  57. 71
  58. 72
  59. 73
  60. 74
  61. 75
  62. 76
  63. 77
  64. 78
  65. 79
  66. 80
  67. 81
  68. 82
  69. 83
  70. 84
  71. 85
  72. 86
  73. 87
  74. 88
  75. 89
  76. 90
  77. 91
  78. 92
  79. 93
  80. 94
  81. 95
  82. 96
  83. 97
  84. 98
  85. 99
  86. 100


nope

c'mon dude, such spell is impossible to be made on GUI... You need Jass for it
If you make that spell in GUI way, the controller of the spell owner just have to press "S" like crazy...

nope again
you can make EVERYTHING with GUI and a few lines of custom script
there are some things which are easier with JASS and probably a lot faster but it can be done in GUI as well
 
Status
Not open for further replies.
Top