Learn skill using item help pls :(

zandor66

New Member
Reaction score
2
i tried to do it alone and i tried to find an answer here but i couldnt find it so....
help if you can. And my Q is: How to make when hero uses an item learns skill.
ty
 

RangerX

I am justice!
Reaction score
69
all spells that have the suffix [SB] are spellbooks

this is how i do it

Trigger:
  • Skill Learn
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Ability being cast) Equal to Learn Flame Strike [item]
          • (Ability being cast) Equal to Learn Wind Nova [item]
          • (Ability being cast) Equal to Learn Blink [item]
          • (Ability being cast) Equal to Learn Tranquility [item]
          • (Ability being cast) Equal to Learn Chain Lightning [item]
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Learn Flame Strike [item]
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Flame Strike for (Triggering unit)) Greater than 0
            • Then - Actions
              • Unit - Set level of Flame Strike for (Triggering unit) to ((Level of Flame Strike for (Triggering unit)) + 1)
              • Item - Remove (Item carried by (Triggering unit) of type Fire Gem)
            • Else - Actions
              • Unit - Add FlameStrike [SB] to (Triggering unit)
              • Player - Disable FlameStrike [SB] for (Owner of (Triggering unit))
              • Item - Remove (Item carried by (Triggering unit) of type Fire Gem)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Learn Chain Lightning [item]
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Chain Lightning for (Triggering unit)) Greater than 0
            • Then - Actions
              • Unit - Set level of Chain Lightning for (Triggering unit) to ((Level of Chain Lightning for (Triggering unit)) + 1)
              • Item - Remove (Item carried by (Triggering unit) of type Lightning Gem)
            • Else - Actions
              • Unit - Add Chain Lightning [SB] to (Triggering unit)
              • Player - Disable Chain Lightning [SB] for (Owner of (Triggering unit))
              • Item - Remove (Item carried by (Triggering unit) of type Lightning Gem)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Learn Blink [item]
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Blink for (Triggering unit)) Greater than 0
            • Then - Actions
              • Unit - Set level of Blink for (Triggering unit) to ((Level of Blink for (Triggering unit)) + 1)
              • Item - Remove (Item carried by (Triggering unit) of type Time Gem)
            • Else - Actions
              • Unit - Add Blink [SB] to (Triggering unit)
              • Player - Disable Blink [SB] for (Owner of (Triggering unit))
              • Item - Remove (Item carried by (Triggering unit) of type Time Gem)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Learn Tranquility [item]
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Tranquility for (Triggering unit)) Greater than 0
            • Then - Actions
              • Unit - Set level of Tranquility for (Triggering unit) to ((Level of Tranquility for (Triggering unit)) + 1)
              • Item - Remove (Item carried by (Triggering unit) of type Nature Gem)
            • Else - Actions
              • Unit - Add Tranquility [SB] to (Triggering unit)
              • Player - Disable Tranquility [SB] for (Owner of (Triggering unit))
              • Item - Remove (Item carried by (Triggering unit) of type Nature Gem)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Learn Wind Nova [item]
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Wind Nova for (Triggering unit)) Greater than 0
            • Then - Actions
              • Unit - Set level of Wind Nova for (Triggering unit) to ((Level of Wind Nova for (Triggering unit)) + 1)
              • Item - Remove (Item carried by (Triggering unit) of type Wind Gem)
            • Else - Actions
              • Unit - Add Wind Nova [SB] to (Triggering unit)
              • Player - Disable Wind Nova [SB] for (Owner of (Triggering unit))
              • Item - Remove (Item carried by (Triggering unit) of type Wind Gem)
        • Else - Actions


you need 3 spells for each spell that you need to be learned
all the spells will go to one SpellBook
if you want to see all that you need feel free to download my map there you will have what i mean look at items and at Special Ability tab

i dono how to post an resource in 2 threads ..
so download it from here if you want http://www.thehelper.net/forums/showthread.php?t=142443

Edit: btw the spell will be learned only if you use the item
 

jig7c

Stop reading me...-statement
Reaction score
123
gotta trigger it!
make a dummy item, which does nothing...(no bonus, no hp/mp regen, etc...)
and trigger it so that when he uses the item, it'll give that hero the desired ability!
 

zandor66

New Member
Reaction score
2
thx a lot for fast reply, i would appreciate more if you told me for only 1 skill =D but ill figure it out. THX a lot!
 

RangerX

I am justice!
Reaction score
69
well for one skill you just eed one of the Ifs
Trigger:
  • Skill Learn
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Learn Flame Strike [item]
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Flame Strike for (Triggering unit)) Greater than 0
            • Then - Actions
              • Unit - Set level of Flame Strike for (Triggering unit) to ((Level of Flame Strike for (Triggering unit)) + 1)
              • Item - Remove (Item carried by (Triggering unit) of type Fire Gem)
            • Else - Actions
              • Unit - Add Flame Strike to (Triggering unit)
              • Player - Disable Flame Strike for (Owner of (Triggering unit))
              • Item - Remove (Item carried by (Triggering unit) of type Fire Gem)
        • Else - Actions

this will learn an flamestrike .. the flame strike must be an unit ability you will not need another spell book for this
an an dummy ability that will goes in a dummy item :)
 

zandor66

New Member
Reaction score
2
Let me explain 1 more time what i want so it wont confuse you cause your helping me :)
I want when hero buys an item from a store and when he use that item or it uses itself when he receives that item, hero learns some skill.
sry if you didnt understand the first time =D my bad
and how to get to this ?
If - Conditions
(Level of Flame Strike for (Triggering unit)) Greater than 0

i only can choose equal to something cant find anything else, if its not important let me know pls if it is tell me how to get to it again PLS XD
 

RangerX

I am justice!
Reaction score
69
let me understand you need to level one of the spells it already have ?
to get that is an integer comparation

EDIT: let me explain what the second trigger do
1.hero get the item
2.hero use that item
3.trigger will check if hero has flame-strike
->hero don't have flame strike then the trigger add flamestrike and remove the item that has been used
->hero have flame strike then it learns next lv of the spell
P.S:i don't really understand what you really want
 

zandor66

New Member
Reaction score
2
no no no my hero does not have any spells he only have Hero ability: Harvest wood and Inventory and i want when he buys an item and uses item he gets some skill in his skill sheet =D
 

RangerX

I am justice!
Reaction score
69
well i don't think you can add spells and then be learned like all Herospells with skill points in the normal way. i'm not very sure about this .
 

zandor66

New Member
Reaction score
2
how is it possible the in spellcraft, there when you buy 3 stones you get a skill in your skill list and when you buy the same 3 stones again your skill gets a lvl,
i want to make something like that but just to buy 1 item to get 1 spell.
If you dont know thx a LOT anyways and merry xmass =)
 

RangerX

I am justice!
Reaction score
69
can you give me a link to that spell :) i will test it and come with an idea :) .. [i didn't played it :)]Merry Xmass to you to
 

zandor66

New Member
Reaction score
2
1.st of all let me answer on your question (Am I really helping anyone?) YES
2.nd here is the game link http://www.epicwar.com/maps/229/
3.rd when you get in game choose survivor mode that way you will get spells fastest way and youll bring me answer faster =D
 

RangerX

I am justice!
Reaction score
69
;)) 1. i didn't put that there :) at some posts and rep the msg changes :) .. i hope i wil get rid of this msg ;) and i will test it and come with the answer
 

RangerX

I am justice!
Reaction score
69
well in that game there are something like this
for example if you need only to have 2 elements let say earth and fire
then if it haves earth and fire in his inventory it will ad an ability
so my second trigeer will do what you what if you want i can make an demo map :) and adding and using some items add and then lvup the spell [coming in 10 minutes with the demo
 

zandor66

New Member
Reaction score
2
omg :eek: i thought that kind of ppl does not exist anymore D= you proved that i was wrong thx m8 i dont know what to say :thup:
 

zandor66

New Member
Reaction score
2
hahahahahaha check this out xD ME (Am I getting my questions answered?)
YOU(Am I really helping anyone?)
Like someone watched our chat past 20 mins xDDD 2 good 2 be true xD
 

RangerX

I am justice!
Reaction score
69
here is the map

edit: don't post 2 replys on a row use the EDIT button [it's against forum rule]
and it was my pleasure to help you with something i know
 

zandor66

New Member
Reaction score
2
sry it wont happen again, and thx a lot this is what i have been looking for =D

oh and i was wondering would you like and if you have an msn to add me, my msn is [email protected] thx again ^^
 
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