Spells: Upgrade Requirements

Thanatos_820

Death is Not the End
Reaction score
91
Gah, another problem with the Object Editor. Very hard to explain so I'll try to breifly explain it:

1. I've been working on my (4) Sunken Frenzy map for sometime now, all I need is to make the passives and spells unavaliable until the player upgrades the spell. Now, here's the problem:

Even before researching the spell to give it permission to recieve it, it has already learned it. For example:

I did not research Ensnare, but the unit already has Ensnare.

Can someone help me? This is really ticking me off and I want to release my 4th version today!
 
I

IKilledKEnny

Guest
Ability Editor > Your Ability > Techtree > Requirements / Requirements Levels.
 

Thanatos_820

Death is Not the End
Reaction score
91
Requirements Levels? What do I set there? The spell/passive? I don't really know what that does, I based all of my passive skill upgrades on Spellsteal, but the field Requirment levels was empty.
 
I

IKilledKEnny

Guest
Requirements Levels is for higher levels (thus if you want to make <<Defense>> rank 2 you'll need to meet the requirements in Requirements Levels)
 

Thanatos_820

Death is Not the End
Reaction score
91
Hmm....no that's not really what I'm searching for, you see, the passives are 1 level only, so after researching the upgrade, the spell/passive is enabled, so it's not a 2 level skill.
 
Z

Zell

Guest
I know of two possible solutions, although I doubt neither are the one in this case.. but anyways:
1. Scenario > Upgrade properties, ensure you aren't auto-researching it.
2. Put your upgrade ability in the skill's (I.E. Ensnare's) Techtree - Requirements field.
 
I

IKilledKEnny

Guest
Hmm....no that's not really what I'm searching for, you see, the passives are 1 level only, so after researching the upgrade, the spell/passive is enabled, so it's not a 2 level skill.

Then:


Code:
Ability Editor > Your Ability > Techtree > Requirements

...

[OFFTOPIC] Did you get my PM? [/OFFTOPIC]
 

Thanatos_820

Death is Not the End
Reaction score
91
I know of two possible solutions, although I doubt neither are the one in this case.. but anyways:
1. Scenario > Upgrade properties, ensure you aren't auto-researching it.
2. Put your upgrade ability in the skill's (I.E. Ensnare's) Techtree - Requirements field.

1. Didn't touch that.
2. I did, but it still won't work.

Then:


Code:
[B][B]Ability Editor > Your Ability > Techtree > Requirements[/B][/B]

...

1. Look on #2.

And yes, I did get the PM, thank you :).
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
by the way i understood it u want him to be able to level up a certain skill only after an upgrade without actually leveling it up but letting him the option to do level it right?
 

Thanatos_820

Death is Not the End
Reaction score
91
Here's what I changed:

http://i138.photobucket.com/albums/q251/Thanatos_820/untitled3.jpg
http://i138.photobucket.com/albums/q251/Thanatos_820/untitled2.jpg
http://i138.photobucket.com/albums/q251/Thanatos_820/untitled.jpg

Well, it goes like this:

The upgrade needs to be researched, the upgrade is at my Research Pedestal but the unit has the upgrade already :mad:. It has the skill even though I did not research it. It only has one leve, meaning it's a single upgrade, so you can't upgrade it twice, goes away after you reserach it but will enable the skill.
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
i got a trigger solution for u try this:
Variable: SkillUpgrade <Boolean>
Code:
Upgrade Research
    Events
        Unit - A unit Begins research
    Conditions
        (Researched tech-type) Equal to <<Ur Upgrade>>
    Actions
        Set SkillUpgrade = True
Code:
Upgrade Check
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to <<Ur Skill>>
        SkillUpgrade Equal to False
    Actions
        Game - Display to (All players matching ((Owner of (Triggering unit)) Equal to (Matching player))) the text: You Must Research U...
        Unit - Decrease level of <<Ur Skill>> for (Triggering unit)
        Hero - Modify unspent skill points of (Triggering unit): Add 1 points
i don't know if it will work but u should try it....
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
so if he can't learn it than it's how the unit gonna actually learn the skill?
 
General chit-chat
Help Users

      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