Item + Spells = Help ME!

Simbob

New Member
Reaction score
0
OK, I have an item that when I use it I get a spell. But when I get it again I want it to level up my spell. How should I go about this? I cant seem to figure it out.

I was thinking maybe:

event - unit manipulates item
condition - Item-type of manipulating item = rune of [spell]
action -
if - unit has [spell]
then - Set level of [spell] to level of [spell] + 1
else - Give uinit [spell]

I cant seem to do this. It's what I have in my head but I can't seem to do it :(. I can't find the right condition for the if.
 

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
is this item manipulating the item a hero or a unit?

and is the skill for hero, or for unit?
 

Simbob

New Member
Reaction score
0
The unit is a hero. The skill is a unit skill. It does have three levels though.
 

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
then... how would it set the level if the level is 1.

set the unit skill level to 3.. so that you can use action: set level of ability.
 

Simbob

New Member
Reaction score
0
The main problem is checking what level the character's spell is, or if he/she even has the spell. If I can do that I will be able to finish my trigger, But I cannot find a condition such as (unit has [spell]).
 

Erkki2

New Member
Reaction score
0
Maybe this is what you are looking for?

Events
Unit manipulates an item
Condition
Item being manipulated is equal to your item
Action
If-Level of your ability for hero manipulating item greater than or equal to 1 (i guess it's boolean comparison)
Then-increase level of your ability for hero manipulating item
Else- Add your ability to hero manipulating item
 

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
The main problem is checking what level the character's spell is, or if he/she even has the spell. If I can do that I will be able to finish my trigger, But I cannot find a condition such as (unit has [spell]).

use integer comparison,, there will be, level of ability of triggering unit equal to 1.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top