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

[Spell] How do I make skill Split Shot like in Guild of Hyppos through triggers?

Status
Not open for further replies.
Level 4
Joined
Jun 2, 2012
Messages
746
How do I make the skill Split Shot like in Robbepop's GoH through triggers? I'm making it for my project map!:vw_wtf:! Forgot too... How do I make an skill too when casts, gives a chance to automatically kill the unit. Like in Final Fantasy, the skill called "Death"!
 
Last edited:
Level 33
Joined
Mar 27, 2008
Messages
8,035
For GoH, you have to explain all the skill is about, not all people your ... custom game.

For "Death", here:
  • EB Loop
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Death
    • 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
          • Unit - Kill (Target unit of ability being cast)
        • Else - Actions
Trigger above will make the spell to have a 15% chance to kill he targeted unit
You can change the chance by change the 15 value.
 
Level 4
Joined
Jun 2, 2012
Messages
746
WoW!

For GoH, you have to explain all the skill is about, not all people your ... custom game.

For "Death", here:
  • EB Loop
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Death
    • 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
          • Unit - Kill (Target unit of ability being cast)
        • Else - Actions
Trigger above will make the spell to have a 15% chance to kill he targeted unit
You can change the chance by change the 15 value.

Wow! I don't know that's just easy to make! Thanks for the clean and understandable tutorial in trigger!:goblin_good_job: + ReP!
 
Level 4
Joined
Jun 2, 2012
Messages
746
Having problem still...

For GoH, you have to explain all the skill is about, not all people your ... custom game.

For "Death", here:
  • EB Loop
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Death
    • 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
          • Unit - Kill (Target unit of ability being cast)
        • Else - Actions
Trigger above will make the spell to have a 15% chance to kill he targeted unit
You can change the chance by change the 15 value.

How bout if there are 3 levels of death skill... Because the one you show is only like level 1!:vw_wtf:
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
  • Chance
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Death
    • 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 ((Level of Death for (Triggering unit)) x 5)
        • Then - Actions
          • Unit - Kill (Target unit of ability being cast)
        • Else - Actions
5% chance per level.

It uses Arithmetic function.
 
Level 4
Joined
Jun 2, 2012
Messages
746
  • Chance
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Death
    • 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 ((Level of Death for (Triggering unit)) x 5)
        • Then - Actions
          • Unit - Kill (Target unit of ability being cast)
        • Else - Actions
5% chance per level.

It uses Arithmetic function.

TY men! If I can only double +REP I just did that now!:goblin_good_job:
 
Level 4
Joined
Jun 2, 2012
Messages
746
Bug?!

:vw_wtf:
  • Chance
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Death
    • 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 ((Level of Death for (Triggering unit)) x 5)
        • Then - Actions
          • Unit - Kill (Target unit of ability being cast)
        • Else - Actions
5% chance per level.

It uses Arithmetic function.

Sorry defskull but I have a big big problem! I tried what you did and to make sure it works I change it to equal 100% so it will kill the unit. Tested it 1st time it works. In the 2nd test, I added casting time of death skill and some and I test and it doesnt work....WHy does that? I just add its casting time and art caster....
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Just change the base ability to Channel, that's all.
You can do this.

EDIT:
Apparently, your Condition in the trigger is wrong.

It should be Less than or equal to but you did Equal to, that will make it 1% chance instead of 100% chance.
 
Level 4
Joined
Jun 2, 2012
Messages
746
The heck happening to my game!!!!

:vw_sad:
Just change the base ability to Channel, that's all.
You can do this.

EDIT:
Apparently, your Condition in the trigger is wrong.

It should be Less than or equal to but you did Equal to, that will make it 1% chance instead of 100% chance.

Men, sorry to say this follow it, based it on CHannel still nothing... Same trigger you show! I did it too...Still nothing... Maybe you should really check my map!
EDIT:
Hey sorry didnt read your previous post about the "it should be less than or equal too 100%'! I found out that it works in less than or equal too. Thanks man!
 

Attachments

  • Final Fantasy ORPG v1.0 by Allain55X.w3x
    108.3 KB · Views: 45
Level 11
Joined
Nov 15, 2007
Messages
781
Read his edit. You set the chance to 1% by doing "Equal to" instead of "Less than or equal to".

P.S., don't use
  • Unit - Kill (Target unit of ability being cast)
It won't give kill credit, which means no bounty gold or experience.
This works better:
  • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing 100000000.00 damage of attack type Spells and damage type Universal
Personally I save the target's current life to a variable, set their HP to 1, and then deal their previous life in damage. More accurate if you end up tracking units' damage dealt for something - like triggered spell damage lifesteal.
 
Level 4
Joined
Jun 2, 2012
Messages
746
Nevermind! PROBLEM SOLVED!

Hey, the problem solved! Thanks to defskull for being patient even it takes time to realize my mistake in the trigger! If I can only give a double +REP, I just did that now but its not allowed...I think... and Meticilous...for another option causing damage. Thanks all guys.. Oh and I didnt even give a +REP to Meticulous. How rude of me! +REP Meticilous!:goblin_yeah::goblin_good_job:
 
Status
Not open for further replies.
Top