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.
  • 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 The Helper:
    I think we need to add something to the bottom of the front page that shows the Headline News forum that has a link to go to the News Forum Index so people can see there is more news. Do you guys see what I am saying, lets say you read all the articles on the front page and you get to the end and it just ends, no kind of link for MOAR!
  • The Helper The Helper:
    Happy Wednesday!
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    Sticking with the desserts for now the latest recipe is Fried Apple Pies - https://www.thehelper.net/threads/recipe-fried-apple-pies.194297/
  • The Helper The Helper:
    Finally finding about some of the bots that are flooding the users online - bytespider apparently is a huge offender here - ignores robots.txt and comes in from a ton of different IPs
  • Monovertex Monovertex:
    @The Helper I'm really not seeing the "Signature" link in the sidebar on that page. Here's a screenshot:
  • The Helper The Helper:
    I have reported it - I was wondering why nobody I have given sigs to over the last few years have used them
  • The Helper The Helper:
    Ghan has said he has fixed this. Monovertex please confirm this fix. This was only a problem with people that had signatures in the upper levels like not the special members but the respected members.
  • The Helper The Helper:
    Here is a better place to manage this stuff https://www.thehelper.net/account/account-details which I think should be way more visible
  • The Helper The Helper:
    I am hoping that online user count drop is finally that TikTok bot banned
  • Ghan Ghan:
    I added the filter last night.
  • The Helper The Helper:
    They are still there

      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