How to: Make Spellbooks

> how can you make that trigger to add the ability into your spellbook?

By having that ability in another Spell Book, with the same "Data - Order ID" as the spell book you already have.
After adding the second spell book, use "Player - Disable ability" to disable the second spell book.
 
ok lets say u want a spell to level up multiple times without leveling up the whole spell book and wanted to use a chat message to choose which skill to level up, how could u make a trigger that works (i've pretty much got everything except for the chat message only applying to the owner of the leveling hero)
 
Check the Vexorian example map in my first post. Maybe that helps.
really helped, well you only have to disable spells, and enable when the hero learns it
why didn't you say this easy one? :)
 
when i cast a spell from my spellbook it closes is there anyway to stop this?
 
Angman said:
when i cast a spell from my spellbook it closes is there anyway to stop this?

Try setting the "shared cooldown" option to false.

dragonhunter said:
Great ive been wondering about spellbooks for AGES

Glad to hear this tutorial helped you.
 
Can I...

How can I make to learn each spell per level? I mean... I want my heros to enter in the spellbook and have to learn every spell there one-by-one... I just want to use the spellbook to have more spells, but I don't want these spells to get level up at the same time. I hope you understand. Thx!
 
Lol, I thought you needed JASS for spellbooks. Your tutorial told me it didn't lol...great tutorial, 5/5.
 
Is there a way to detect if a spellbook is opened or closed?
 
Problem =(

I have a problem o_O I have custom trigger spells in the spell book but when the skills are used they don't do anything. They work when they aren't in the spellbook though... here's what the trigger looks like

--------------------------------------------------------------------------
Nightmares
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Nightmares
Actions
Set SkillsNightmareTarget = (Target unit of ability being cast)
Set SkillsNightmareCaster = (Casting unit)
Trigger - Turn on NightmaresDamage <gen>
Wait 15.00 seconds
Trigger - Turn off NightmaresDamage <gen>
-------------------------------------------------------------------------
NightmaresDamage
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit - Cause SkillsNightmareCaster to damage SkillsNightmareTarget, dealing ((Real((Intelligence of SkillsNightmareCaster (Exclude bonuses)))) / 5.00) damage of attack type Hero and damage type Mind
--------------------------------------------------------------------------

Is there anything really wrong with that? o_O
 
CrimsonYaega said:
ok lets say u want a spell to level up multiple times without leveling up the whole spell book and wanted to use a chat message to choose which skill to level up, how could u make a trigger that works (i've pretty much got everything except for the chat message only applying to the owner of the leveling hero)

Event
A unit gains a level.​
Condition
(Unit-type of (Triggering Unit)) equal to *HERO*.​
Action

Hero - Learn skill for (Triggering Unit): Human Archmage - Blizzard


Set the skill / hero to whatever you'd like.​
 
Updated the whole tutorial! I hope its more organized and explains better now.

101112131415 said:
Is there a way to detect if a spellbook is opened or closed?

No, I think.

hauntedfreak said:
I have a problem o_O I have custom trigger spells in the spell book but when the skills are used they don't do anything. They work when they aren't in the spellbook though... here's what the trigger looks like

--------------------------------------------------------------------------
Nightmares
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Nightmares
Actions
Set SkillsNightmareTarget = (Target unit of ability being cast)
Set SkillsNightmareCaster = (Casting unit)
Trigger - Turn on NightmaresDamage <gen>
Wait 15.00 seconds
Trigger - Turn off NightmaresDamage <gen>
-------------------------------------------------------------------------
NightmaresDamage
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit - Cause SkillsNightmareCaster to damage SkillsNightmareTarget, dealing ((Real((Intelligence of SkillsNightmareCaster (Exclude bonuses)))) / 5.00) damage of attack type Hero and damage type Mind
--------------------------------------------------------------------------

Is there anything really wrong with that? o_O

Ill check that out and let you know.

EDIT: I made a test spell and casted it from a spellbook - it worked fine.
 
The new version makes it all look a bit... 'smaller' :eek: .
Anyway I used the old tutorial to make a few spellbooks, and it went great, thanx for clarifying all of those little stuff I wasn't so sure about ;) .
I do have one question though: When I have spellbooks in a spellbook, and I use one of them, then the cooldown is one the entire spellbook (since that is the ability) and then you can't enter the spellbook to choose new spells until the cooldown is over. How can this be fixed?
 
I think its more informative and compact now. For your problem, read the tutorial again. :)

sharedcooldown.jpg


Set this to false, it should help.
 
A heads up -

from my experience, the spellbook ability will not have te correct tooltip fields if it is simply converted into a hero abilitys. Check out this thread.
 
That occurs with all item and unit abilites, which are turned into hero abilites. I add it to the tutorial.
 
Andrewgosu said:
2

You can’t learn spells in a spellbook like with a hero, but you can set the level of the ability in the spellbook, when nessecary.

exmaple666.jpg
okok... i dunno how to set when my hero's lvl 5, the spellbook goes to lvl 2 to enable another skill in it
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      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