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

[Spell] Not Accurate

Status
Not open for further replies.
Level 4
Joined
Mar 13, 2014
Messages
93
Help Me For Fixing My Spell When the Caster Is Casted to Target by exact cast range its looks normal but i casted it near the target the knife is going beyond the target
Here is the Triggers
  • Shiki Ulti Cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Kyokushi Nanaya
    • Actions
      • Set Shiki_Caster_ulti[1] = (Triggering unit)
      • Set Shiki_Target_ulti[1] = (Target unit of ability being cast)
      • Set Shiki_Point_ulti[1] = (Position of Shiki_Caster_ulti[1])
      • Set Shiki_Point_ulti[2] = (Position of Shiki_Target_ulti[1])
      • Set Shiki_Angle1_ulti[1] = (Angle from Shiki_Point_ulti[1] to Shiki_Point_ulti[2])
      • Unit - Pause Shiki_Target_ulti[1]
      • Unit - Hide Shiki_Caster_ulti[1]
      • Sound - Play Kyokushi <gen> at 100.00% volume, attached to Shiki_Caster_ulti[1]
      • Unit - Create 1 Shiki Dummy (Knife) for (Owner of Shiki_Caster_ulti[1]) at Shiki_Point_ulti[1] facing Shiki_Angle1_ulti[1] degrees
      • Set Shiki_Dummy_ulti[1] = (Last created unit)
      • Trigger - Turn on Shiki Ulti End <gen>
      • Wait 1.00 seconds
      • Trigger - Turn off Shiki Ulti End <gen>
      • Unit - Kill Shiki_Dummy_ulti[1]
      • Unit - Create 1 Shiki Dummy Ulti for (Owner of Shiki_Caster_ulti[1]) at Shiki_Point_ulti[2] facing Shiki_Angle1_ulti[1] degrees
      • Set Shiki_Dummy_ulti[2] = (Last created unit)
      • Sound - Play Nanaya <gen> at 100.00% volume, attached to Shiki_Caster_ulti[1]
      • Animation - Play Shiki_Dummy_ulti[2]'s Attack animation
      • Special Effect - Create a special effect at Shiki_Point_ulti[2] using Objects\Spawnmodels\Human\HumanBlood\HumanBloodLarge0.mdl
      • Unit - Cause Shiki_Caster_ulti[1] to damage Shiki_Target_ulti[1], dealing (Real(((Agility of Shiki_Caster_ulti[1] (Include bonuses)) x 1000000))) damage of attack type Spells and damage type Normal
      • Set SfxLeaks[1] = (Last created special effect)
      • Wait 0.32 seconds
      • Unit - Unhide Shiki_Caster_ulti[1]
      • Unit - Remove Shiki_Dummy_ulti[2] from the game
      • Unit - Unpause Shiki_Target_ulti[1]
      • Unit - Unpause Shiki_Caster_ulti[1]
      • Unit - Make Shiki_Target_ulti[1] Vulnerable
      • Unit - Make Shiki_Caster_ulti[1] Vulnerable
      • Special Effect - Destroy SfxLeaks[1]
      • Custom script: call RemoveLocation(udg_Shiki_Point_ulti[1])
      • Custom script: call RemoveLocation(udg_Shiki_Point_ulti[2])
  • Shiki Ulti Loop
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 1 Shiki Dummy (Knife) for (Owner of Shiki_Dummy_ulti[1]) at (Position of Shiki_Dummy_ulti[1]) facing (Facing of Shiki_Dummy_ulti[1]) degrees
      • Set Shiki_Dummy_ulti[2] = (Last created unit)
      • Animation - Change Shiki_Dummy_ulti[2]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 30.00% transparency
      • Unit - Set Shiki_Dummy_ulti[2] movement speed to 30.00
      • Unit - Remove Shiki_Dummy_ulti[2] from the game
  • Shiki Ulti End
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
    • Actions
      • Unit - Move Shiki_Dummy_ulti[1] instantly to ((Position of Shiki_Dummy_ulti[1]) offset by 9.00 towards Shiki_Angle1_ulti[1] degrees)
 
Status
Not open for further replies.
Top