Character lvl+spell in spellbook

Optiong

New Member
Reaction score
0
i want to give my character a spell after he gains a lvl and put it into a spell book. i want to know what trigger(s) i would need to do this.
 
B

bugi_bi

Guest
Untitled Trigger 001
Events
Unit - A unit Gains a level
Conditions
(Unit-type of (Leveling Hero)) Equal to (hero unit type) //or you could use unit comparision not unit type)
Actions
Unit - Add Firebolt (Spellbook) to (Leveling Hero)
Unit - Remove Firebolt (Spellbook) from (Leveling Hero)

"(Spellbook)" is just editor suffix...its not necessary...
for each ability you must have spellbook version of that ability wich means Spellbook ability that contains only that spell and that spellbook must have the same (data - base order ID) like the spellbook used by your hero...

that sould do the trick.
 

phyrex1an

Staff Member and irregular helper
Reaction score
447
You shouldn't remove the spell book, you should dissable it for the owning player.
Like:
Player - Disable Firebolt (Spell book) for Owner of (Leveling Hero)

Also, if you want you can do this on the begingin of your map, dissable the spell book for all players.
 
D

DSG

Guest
you could do this without a trigger simply by

1. making a hero version of spell book

2. ad how many levels u want it to go

3 add the spells to the progresive levels
 
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