Walrus Punch and counter helix :)

n1mr0d

Member
Reaction score
1
ok so , walrus punch is a skill that when is casted gives 2,5x(4x if the attacked unit has life under 50%) critical damage for the next attack, and slows movement with 40% for the attacked unit, or if he will not attack an unit over 10 sec , the walrus punch's buff will be removed , how should i create that the attacked unit will be launched in the air , the critical strike, and the floating text , that looks like critical strike ?

Counter helix : is a passive spell , that it have 0.7 cooldown , and gives 17% to damage nearby enemies , over an area of 175.

How can i set that, the blademaster (learning hero who has counter helix) will spin , and how the spell will get 0.7 cooldown ?

Some tips over my questions :), i don't need programing , i only need tips :D, and some commands with programing :)
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
for counter helix, when a player learns the ability (passive based off an aura with no targets or special effects) add a spell book with a stomp (slow not stun version) based ability. Set the slow to 0.01 seconds and the cooldown to 0.7 seconds, then disable the spellbook, the ability inside will still be available, but nothing will show up on the characters UI, then when the unit is attacked, set a variable equal to a random real variable between 1.00 and 100.99, and if the variable is less than or equal to 17.00 then order the unit to cast the stomp.

set the stomps artwork to the bladestorm artwork or order the unit to play the bladestorm animation and set the damage to what you want.

do you have Weep's dds? for walrus punch you would need it
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
its a GUI friendly damage detection system that you should have in your map, you cant detect how much damage a unit takes, when it takes damage, or who dealt it without a system like it, you can create your own but weep's is a pretty simple one that you can use in your map easily

Clicky
 

n1mr0d

Member
Reaction score
1
Trigger:
  • Melee Initialization
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Counter Helix Spell
    • Actions
      • Unit - Add Counter Helix to (Learning Hero)

Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Level of Counter Helix Spell for (Attacked unit)) Greater than 0
    • Actions
      • Set integer = (Random integer number between 1 and 100)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • integer Less than or equal to 25
        • Then - Actions
          • Unit - Order (Attacked unit) to Human Mountain King - Thunder Clap
        • Else - Actions


How should i disable the spell book ability ? and why it's not working this spell :)?
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
Ability - Disable AbilityX for triggering unit
before the if all conditions are true then else action
put one that displays the game text of the integer by converting the integer into a string... that way you know what it is, integer randoms can be the same thing every time if a setting is checked, i forget, random seed something
 

n1mr0d

Member
Reaction score
1
its a GUI friendly damage detection system that you should have in your map, you cant detect how much damage a unit takes, when it takes damage, or who dealt it without a system like it, you can create your own but weep's is a pretty simple one that you can use in your map easily

Clicky



Why would i need this system ? there will be just the attacking unit , and the attacked unit , if the attacking unit has buff of walrus punch, than the attacked unit will flee in air, i don't think it need damage detection...or am i wrong ?


PS: Still it's not working,
Trigger:
  • Melee Initialization
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Counter Helix Spell
    • Actions
      • Unit - Add Counter Helix to (Learning Hero)
      • Player - Disable Counter Helix for (Owner of (Learning Hero))

Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Level of Counter Helix Spell for (Attacked unit)) Greater than 0
    • Actions
      • Set integer = (Random integer number between 1 and 100)
      • Game - Display to (All players) the text: (String(integer))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • integer Less than or equal to 25
        • Then - Actions
          • Unit - Order (Attacked unit) to Human Mountain King - Thunder Clap
        • Else - Actions

So the problem is , that the integer is less then 25, or it's equal to , but the attacked unit don't casts thuunder clap , why ?
 

vypur85

Hibernate
Reaction score
803
I suggest you to search through the spell submission section, then try out a GUI spell yourself. They're provided with test map. All done for you. Check out the maps and learn how to do it yourself by copying the actions one by one.

Omnislash and Chain Frost are good starts.

At least familiarise yourself with some of the WC3 jargons.



For Counter Helix, it's just unit is attacked event, with integer chance etc as done by you. The damage is dealt by picking units around the attacked unit and damage them. The spin is just an animation, nothing else. As for the cooldown, it's a lil tricky for GUI. Just need a little wait and a unit group and some pseudo-locals (or hashtables).

Walrus Punch requires damage detection, to detect the damage dealt and multiple the damage, as well as to detect the life of the damaged unit.
 

n1mr0d

Member
Reaction score
1
I did them already , on my own , without any help :p, but i get stucked on walrus punch and counter helix, for walrus punch it won't be easier if , it will damage the target with 3x attack damage and it will add to the string hero attack damage + 3x attack damage, and the damage will be the same as 4x attack damage? or there is not any comand for attack damage of hero?
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
thanks vypur but he did request help on creating it without actually doing it for him
 

tommerbob

Minecraft. :D
Reaction score
110
You need to use a damage detection for the Walrus Punch, that's how you detect the damage of the hero. When you detect his damage, you simply cause him to deal X more damage. However, you need to differentiate between Attack damage and Spell damage. This has already been said, several times. -.-
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
you can just check if a boolean for recently attacked is true, since the walrus is a melee unit that should be farely acurate
 

n1mr0d

Member
Reaction score
1
but , i'm still having problem with counter helix... gfreak45 can you help me by looking an it :)? i did exactly what u typed but it's not working :(
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
i cant make any promises but if you upload your map ill try to make the time to look at it, i work soo much and have a ton of stuff to do already : (
 

n1mr0d

Member
Reaction score
1
here is it ,and thank you very much .
 

Attachments

  • counter helix.w3x
    17.4 KB · Views: 235
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top