[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums | Starcraft II |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III Modding > Triggers & Scripts

Triggers & Scripts Discussions regarding GUI triggers & JASS/AI scripts may be found here. Please review the » JASS Tutorials » Trigger Tutorials

Closed Thread
 
LinkBack Thread Tools
Old 07-02-2009, 09:03 PM   #1 (permalink)
Registered User ItachiTraitor
User
 
ItachiTraitor's Avatar
 
Join Date: Jun 2009
Posts: 106
ItachiTraitor has little to show at this moment (1)
How to x3 Stats onto Ability?

Hey, does anyone know how to times stats onto abilitys? Rep+

For Example: The hero would have lets say 20 agility, x3 Agility ONLY onto the Storm Bolt ability, which would come out 60 Damage from the agility.


If anyone would link me some pics to this trigger that would be great!!
ItachiTraitor is offline  
Old 07-02-2009, 09:05 PM   #2 (permalink)
Registered User splashy5
Ban from Chat............
 
splashy5's Avatar
 
Join Date: Jul 2007
Posts: 272
splashy5 has little to show at this moment (17)splashy5 has little to show at this moment (17)
you have to trigger the ability

Event - Unit starts the effect of an ability
Condition - Ability being cast is equal to Storm Bolt
Action - Damage Target for (agility of Casting unit ) x 3

ez
__________________
splashy5 is offline  
Old 07-02-2009, 09:41 PM   #3 (permalink)
Registered User ItachiTraitor
User
 
ItachiTraitor's Avatar
 
Join Date: Jun 2009
Posts: 106
ItachiTraitor has little to show at this moment (1)
Which trigger is the Action - Damage Target for (agility of Casting unit ) x 3?

The Action - Damage Target for (agility of Casting unit ) x 3, which action is that?

Last edited by Dr Super Good; 07-05-2009 at 01:38 AM. Reason: Do not double post (read rules).
ItachiTraitor is offline  
Old 07-02-2009, 09:46 PM   #4 (permalink)
Registered User GhostWolf
Spook
 
GhostWolf's Avatar
 
Join Date: Jul 2007
Posts: 2,760
GhostWolf is just really nice (412)GhostWolf is just really nice (412)GhostWolf is just really nice (412)GhostWolf is just really nice (412)GhostWolf is just really nice (412)
I bet that if instead of double posting you'd go to the action list and search it, it won't take more then 20 seconds to find.
__________________

MAKE OPTICAL FIBERS, NOT WAR

Usefull links for C++ programmers

I'm in the army. :(
GhostWolf is offline  
Old 07-02-2009, 10:08 PM   #5 (permalink)
Registered User splashy5
Ban from Chat............
 
splashy5's Avatar
 
Join Date: Jul 2007
Posts: 272
splashy5 has little to show at this moment (17)splashy5 has little to show at this moment (17)
Storm Hammer Agility
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Storm Bolt
Actions
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((Real((Agility of (Triggering unit) (Include bonuses)))) x 3.00) damage of attack type Spells and damage type Lightning

THis is the Thing...
The Damage Target is almost at the bottom of the Unit Actions
__________________
splashy5 is offline  
Old 07-03-2009, 12:47 AM   #6 (permalink)
Registered User ItachiTraitor
User
 
ItachiTraitor's Avatar
 
Join Date: Jun 2009
Posts: 106
ItachiTraitor has little to show at this moment (1)
Not to be a nub, but I srsly can't find this part ((Real((Agility of (Triggering unit) (Include bonuses)))) x 3.00)
ItachiTraitor is offline  
Old 07-03-2009, 01:04 AM   #7 (permalink)
Registered User splashy5
Ban from Chat............
 
splashy5's Avatar
 
Join Date: Jul 2007
Posts: 272
splashy5 has little to show at this moment (17)splashy5 has little to show at this moment (17)
You have to click on the value for damage and then click on the 1.00, then click on Convesion - Interger to Real then go up till you see Hero - Hero Attribute then click n strength and set it to agility, then set the unit to triggering unit, then click OK till you get to Real(Agility of (Triggering Unit) (include bonuses))) + 1.00 switch the + to a x and set 1 to 3 if u need pictures contact me tommorow im going to sleep >.>
__________________
splashy5 is offline  
Old 07-03-2009, 06:37 AM   #8 (permalink)
Registered User -BerZeKeR-
(●_•)Fear the eyes!
 
-BerZeKeR-'s Avatar
 
Join Date: Mar 2008
Posts: 3,038
-BerZeKeR- has a brilliant future (1675)-BerZeKeR- has a brilliant future (1675)-BerZeKeR- has a brilliant future (1675)-BerZeKeR- has a brilliant future (1675)-BerZeKeR- has a brilliant future (1675)
Check the simple spell pack in my signature, there are like 5 spells atribute based =)

So if you wish check it out...

Else you simply damage the unit using trigger action "damage unit", search for Hero - atribute x <some value(I use level of a bility)>

That's it ^^

~Berz
__________________

Hacker inside.


Last edited by -BerZeKeR-; 07-03-2009 at 11:27 AM. Reason: typo :< wich not equal wish xP
-BerZeKeR- is offline  
Old 07-03-2009, 11:18 AM   #9 (permalink)
Registered User HellslayerX15
Spawn of Justice
 
HellslayerX15's Avatar
 
Join Date: Apr 2008
Posts: 252
HellslayerX15 has little to show at this moment (15)HellslayerX15 has little to show at this moment (15)
maybe you dont have the action in your editor, I think that UMSWE doesnt have it
__________________
HellslayerX15 is offline  
Old 07-04-2009, 07:50 PM   #10 (permalink)
Registered User ItachiTraitor
User
 
ItachiTraitor's Avatar
 
Join Date: Jun 2009
Posts: 106
ItachiTraitor has little to show at this moment (1)
Thanks splashy!!! rep+, only problem that I found is when you do something like a shockwave, it only damages the targeted.
ItachiTraitor is offline  
Old 07-05-2009, 01:14 AM   #11 (permalink)
Registered User splashy5
Ban from Chat............
 
splashy5's Avatar
 
Join Date: Jul 2007
Posts: 272
splashy5 has little to show at this moment (17)splashy5 has little to show at this moment (17)
yah you have to make dummy's and make it damage around them
__________________
splashy5 is offline  
Old 07-05-2009, 01:38 AM   #12 (permalink)
Registered User ItachiTraitor
User
 
ItachiTraitor's Avatar
 
Join Date: Jun 2009
Posts: 106
ItachiTraitor has little to show at this moment (1)
dummy's?
ItachiTraitor is offline  
Old 07-05-2009, 03:10 PM   #13 (permalink)
Registered User splashy5
Ban from Chat............
 
splashy5's Avatar
 
Join Date: Jul 2007
Posts: 272
splashy5 has little to show at this moment (17)splashy5 has little to show at this moment (17)
Create a new unit.
Change the units model to _.mdl (_ is a space) -(nothing so it dosent show up)
Give it the locust ability.(this makes it so the unit cannot be clicked on and has 0 collision
Make it so some spawn.
Add them to a uit group.
Make a trigger that damages all units around the dummies (exept allies)
Heres an example
Frost Wave1
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Frost Wave
Actions
Set Frost_Wave_Caster = (Triggering unit)
Wait 0.66 seconds
Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 200.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
Unit Group - Add (Last created unit) to Frost_wave_Dummys
Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 400.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
Unit Group - Add (Last created unit) to Frost_wave_Dummys
Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 800.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
Unit Group - Add (Last created unit) to Frost_wave_Dummys
Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 1000.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
Unit Group - Add (Last created unit) to Frost_wave_Dummys
Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 300.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
Unit Group - Add (Last created unit) to Frost_wave_Dummys
Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 500.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
Unit Group - Add (Last created unit) to Frost_wave_Dummys
Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 700.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
Unit Group - Add (Last created unit) to Frost_wave_Dummys
Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 900.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees
Unit Group - Add (Last created unit) to Frost_wave_Dummys
Countdown Timer - Start Frost_Wave_Timer as a One-shot timer that will expire in 0.00 seconds

Frost Wave2
Events
Time - Frost_Wave_Timer expires
Conditions
Actions
Unit Group - Pick every unit in Frost_wave_Dummys and do (Actions)
Loop - Actions
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
Unit - Cause Frost_Wave_Caster to damage circular area after 0.00 seconds of radius 250.00 at (Position of (Picked unit)), dealing ((Real((Intelligence of Frost_Wave_Caster (Include bonuses)))) x 2.00) damage of attack type Spells and damage type Cold
Wait 1.00 seconds
Unit Group - Pick every unit in Frost_wave_Dummys and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Unit Group - Remove (Picked unit) from Frost_wave_Dummys

this might leak idk?
__________________
splashy5 is offline  
Old 07-05-2009, 03:18 PM   #14 (permalink)
Registered User -BerZeKeR-
(●_•)Fear the eyes!
 
-BerZeKeR-'s Avatar
 
Join Date: Mar 2008
Posts: 3,038
-BerZeKeR- has a brilliant future (1675)-BerZeKeR- has a brilliant future (1675)-BerZeKeR- has a brilliant future (1675)-BerZeKeR- has a brilliant future (1675)-BerZeKeR- has a brilliant future (1675)
Did you heard for loops?

For each integer A from 1 to [any value] do something?
__________________

Hacker inside.

-BerZeKeR- is offline  
Old 07-05-2009, 03:43 PM   #15 (permalink)
Registered User splashy5
Ban from Chat............
 
splashy5's Avatar
 
Join Date: Jul 2007
Posts: 272
splashy5 has little to show at this moment (17)splashy5 has little to show at this moment (17)
I never learned bout Interger Loops
__________________
splashy5 is offline  
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Unsolved] ability based off the casters own stats corley World Editor Help Zone 2 06-25-2009 10:17 PM
[Solved] Adding stats to a hero with spells (adding stats temporarily through an ability) cakemixcore World Editor Help Zone 16 01-18-2009 10:04 PM
[Unsolved] damage/healing not showing up as stats on the ability editor sickwitit World Editor Help Zone 2 01-11-2009 08:35 PM
[Trigger] ability dmg determined by stats Germ Triggers & Scripts 10 01-27-2008 12:09 PM
AoE Ability based on stats?? hobolord Triggers & Scripts 7 07-02-2007 05:50 PM

All times are GMT. The time now is 09:42 PM.





Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.1
Copyright©Ralle