Leveling Up Spellbook's Spells

Oronuke

New Member
Reaction score
2
I was wondering what is the simplest way to level up an ability/spell in a spellbook as the hero levels. Basically, when my hero levels I want him to be able to open up his spellbook and choose which spell they want to upgrade. Still want level requirements for each spell, the usual stuff.
 

21ToWin

New Member
Reaction score
5
I dont think it is posable to raise the level of a spell in a spell book by clicking on it. But you can raise the level of a spell many other ways.
 

Hatebreeder

So many apples
Reaction score
381
Ever thought of Dialog Buttons?
Whenever you Level, open a Dialog for triggering player, then clear the Dialog once you clicked a button. Exchange the Skill ability ( Make a one Level Ability Ability, for each of the Levels of the Spell ). This should be a quite simple, but efective solution. But, it may be annoying when you Level while your attacked :/
 

Oronuke

New Member
Reaction score
2
Ehh, I hate to say it but I honestly have no clue about anything you said Hatebreeder, I haven't worked with it intensively for awhile so I don't remember much about dialogue buttons at all. I'm going to take phyrex1an's advice but if anyone has anything else to say feel free to say it.
 

Condefruit

New Member
Reaction score
0
Did you tried

-event
unit generic event
unit use a competence

-condition
ability comparaison
ability being casted egal to xxx

-action
unit - set lvl of ability for unit

or something like that
if u want to make ability egal to lvl ability + 1 maybe try to create a variable
 

Hatebreeder

So many apples
Reaction score
381
=.= You make me feel like...

Hmmm... I'll Post an Example:

Event: Map Init

Condition:

Action:
Set Skill[1] = YOUR SKILL LVL 1
Set Skill[2] = YOUR SKILL LVL 2
Set Skill[3] = YOUR SKILL LVL 3
Set Skill[4] = YOUR DIFFERENT SKILL LVL 1
Set Skill[5] = YOUR DIFFERENT SKILL LVL 2
Set Skill[6] = YOUR DIFFERENT SKILL LVL 3

Event: A Hero increases Level

Condition: Hero Level equals to 1 AND 3 AND 5 ( Level 5 is Level 3 for the Skills )

Action:
-------------------------------------------------------------
Clear SkillDialog
Change the Title of SkillDialog to 'Choose a Skill'
Set DialogButtons[1] = Last Created Dialog Button
Create a Dialog Button for SkillDialog labelled 'YOUR SKILL NAME'
---Repeat the Actions between the dotted lines for every Skill---

Event: A Dialog Button is clicked for SkillDialog

Conditions:

---------------------------------------------------------------
Actions: If all Conditions are True then do Actions else do ElseActions:
If: clicked Button equals DialogButtons[1]
then: Remove NAME OF THE SKILL LEVELED (the Old one (For instance this is Level 2))
Add NAME OF THE SKILL LEVELED (The New one ( this would be then Level 3))
Skip remaining Actions
Else:
------Repeat the Actions between the dotted lines for every Skill--

I hope this clears some things up ^.~
 

Oronuke

New Member
Reaction score
2
It made a bit more sense, but I haven't tried it out yet, although I REALLY appreciate the help, so thank you!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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