Spells with Attribute adding to damage.

ZelNaga

New Member
Reaction score
5
I'd like to have a few spells that gets a damage bonus from an attribute.
ex:
Spell X does 100 dmg + 1.5x your Intelligence

Came someone show me how to do this?
 

Tom Jones

N/A
Reaction score
437
Trigger:
  • Test A
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to *Your Ability*
    • Actions
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (100.00 + (1.50 x (Real((Intelligence of (Triggering unit) (Exclude bonuses)))))) damage of attack type Spells and damage type Normal
 

bigbone

New Member
Reaction score
0
hmm

Trigger:
  • Test A
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to *Your Ability*
    • Actions
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (100.00 + (1.50 x (Real((Intelligence of (Triggering unit) (Exclude bonuses)))))) damage of attack type Spells and damage type Normal

____________________________________________________

Am i using some old version of editor..??cuz i don't have otions like:

Events
Unit - A unit Starts the effect of an ability

and

Actions
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (100.00 + (1.50 x (Real((Intelligence of (Triggering unit) (Exclude bonuses)))))) damage of attack type Spells and damage type Normal
 

Moridin

Snow Leopard
Reaction score
144
I'm pretty sure that even the older versions of warcraft have those (but I might be wrong) anyway, the way to get to them is:

Event: Generic unit event

-> A unit dies
- click "Dies" and select "starts the effect of an ability"

Actions: Unit - Cause unit to damage Target -> Near the very bottom of the unit actions list.

-> Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ___ damage of attack type spells and damage type Normal.
- I'm assuming you know about triggering unit and target unit of ability being cast
- Click the ___
- Select Arithmetic from the drop menu
-> 0 + 0
- Click the first 0
- Type in 100 in Value
- Click OK
-> 100 + 0
- Click the second 0
- Select Arithmetic again
- Click the First 0 (in the second Arithmetic) and type in 1.50
- Click the Second 0 (in the second Arithmetic) and select Conversion - Integer to Real
- Click and Select "Unit - Property of unit" from the drop-menu
- Get to triggering unit
- Click Ok, Ok, Ok

You have it.
 

madd_999

New Member
Reaction score
14
could it be that you use the Reign Of Chaos editor while the trigger example is made with The Frozen THrone editor??
 

bigbone

New Member
Reaction score
0
okay, tnx.. now i got that..

BUT, i sould know what does those numbers,i mean, wich means what..

ok, for example,i want to make heal skill wich heals for 80+2xINT.. how should i do that if i need it only fror that skill..???

P.S TNX again :))
 

Laiev

Hey Listen!!
Reaction score
188
okay, tnx.. now i got that..

BUT, i sould know what does those numbers,i mean, wich means what..

ok, for example,i want to make heal skill wich heals for 80+2xINT.. how should i do that if i need it only fror that skill..???

P.S TNX again :))

The best thing you ever learn, is test :)

you need LEARN how to do, not just call people to do it, try to change the values lines of trigger, test triggers line and see what happen, is the best way to you do all :D

Good lucky :D

and REMEMBER.... read what the line say... "Causa (triggering unit) to damage (target of ability been cast) dealing (100 + (1.5 x intelligent of triggering unit))"

triggering unit is EVER the unit center of trigger....

"unit caster a spell" < the caster is the triggering unit
"a unit die" < the dying unit is triggering unit
"a unit say f*ckme" < the passive unit is triggering unit lol

:D good lucky again o// have fun :B
 

Slapshot136

Divide et impera
Reaction score
471
ok, for example,i want to make heal skill wich heals for 80+2xINT.. how should i do that if i need it only fror that skill..???

that would be what this line is for
Trigger:
  • Conditions
    • (Ability being cast) Equal to *Your Ability*
 

bigbone

New Member
Reaction score
0
Daaamn...

I just can't figuer out how to make an actoin !!!! :banghead::banghead:

can someone explain where is those optins like ->Unit - Cause ....
or someone just could make that goddamn trigger as exanple.. plz

I'm despered.. :confused::confused:
 

Moridin

Snow Leopard
Reaction score
144
At the top of the trigger editor, you can find buttons for creating new triggers, events, conditions, actions.

On the side here are the shortcuts:
Event: Ctrl + E
Actions: Ctrl + R
Conditions: Ctrl + D

^I'm not completely sure of those...but it should work.
 

bigbone

New Member
Reaction score
0
At the top of the trigger editor, you can find buttons for creating new triggers, events, conditions, actions.

On the side here are the shortcuts:
Event: Ctrl + E
Actions: Ctrl + R
Conditions: Ctrl + D

^I'm not completely sure of those...but it should work.

No, i mean i can't find atcion like -> Unit - Couse unit to damage target..
it's just not in unit action list..:confused:
 

bigbone

New Member
Reaction score
0
I thing that i"ll soon will go crazy.. I just don't understand, where are those options.. i dont see anything like Unit - Bla bla..

My progress with this action is:

Select->
- New Action
Select->
- Action Type (Unit)
and how i see a lot of options like:
- Create Units Facing Angle
- Create Units Facing Point
- Create Corpse
- Kill
- Remove
- Explode
- Replace
- Hide
- Unhide ETC.. but nothing about damages or something.. :(
 

Moridin

Snow Leopard
Reaction score
144
Yeah. That's the list of unit actions. Scroll down a bit (quite a bit) till you see it go from

Unit - Bla bla

to

Unit Group - Bla bla

...and then look at the last few Unit - actions JUST before the unit group actions. One of them will be:

Unit - Damage Target

On another note, you can search for it by doing this:

When clicking New Action, the box opens up. Then click the drop-down menu saying "General" on it. Scroll down to Search-for-text.

Then in the box given type in Unit - Damage

..and it should give you the options. NOTE: It searches for that EXACT string, so a single mistake will result in it not working. Also, it searches at the very base level and doesn't go in depth into the options of each action...so it won't work for more complicated search strings.
 

bigbone

New Member
Reaction score
0
It will lead me to nothing.. it's just not there.. could you make thats trigger action simple and send me to email..?? I wound be wery grateful if You do it..
My email: [email protected]

btw search didn't found either..
 

bigbone

New Member
Reaction score
0
Error

ok.. i was opening that map wich You gave me and i got following error :
______________________________________________________
This mas has been saved by a more recent version of the editor.
It may contain data which are not supported in this version.

Continue loading map?
______________________________________________________

pressed yes got this:

______________________________________________________
Trigger function does not exsist in datebase: UnitDamageTargetBJ
_______________________________________________________

Any ideas..??
 
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