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.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top