How to: Make Spellbooks

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> 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.
 
C

CrimsonYaega

Guest
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)
 

Badozz

New Member
Reaction score
2
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? :)
 
A

Angman

Guest
when i cast a spell from my spellbook it closes is there anyway to stop this?
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
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.
 
U

Unregistered

Guest
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!
 

WarLuvr3393

Hmmm...too many things to play (WoW, COD4, WC3)
Reaction score
54
Lol, I thought you needed JASS for spellbooks. Your tutorial told me it didn't lol...great tutorial, 5/5.
 
1

101112131415

Guest
Is there a way to detect if a spellbook is opened or closed?
 
H

hauntedfreak

Guest
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
 
P

Pawnable

Guest
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.​
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
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.
 

stavious

New Member
Reaction score
24
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?
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
I think its more informative and compact now. For your problem, read the tutorial again. :)

sharedcooldown.jpg


Set this to false, it should help.
 

2evil

New Member
Reaction score
16
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.
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
That occurs with all item and unit abilites, which are turned into hero abilites. I add it to the tutorial.
 

ianu74

New Member
Reaction score
8
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.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top