- Joined
- Jul 12, 2013
- Messages
- 128
Hi I have a few questions and one problem.
Questions:
1. Is it possible to add or remove ability from spellbook by triggers ?
2. How to create Blessing of kings ability wich will increase all stats by X %?
I created a spellbook called Blessing spellbook wich contains 3 blessings(auras that affect only hero who learned that blessing). Player can switch between these 3 blessings so only one blessing can be activated in time.
I figured out mechanism that should do the trick. I created 3 dummy spells wich will be in Blessing spellbook. The 3 dummy spells represent blessings. When a dummy spell is activated it will add a spellbook to hero wich contains passive ability(we will call it real blessing) that does the effect of blessing described by dummy spell in Blessing Spellbook. Then the spellbook will be disabled for player so that i can use button slots for other spells and the effect still lasts. When different dummy ability is activated it will at first remove spellbook containing real blessing and then add different spellbook containg different real blessing and then disabling the spellbook.
Here's the trigger:
And you wouldn't expect that but I have problem that dummy spells representing blessings doesn't show up in my blessing spellbook. I don't know how to fix that.
I want to ask you if my thoughts would work. Because of complexity of my system i will upload a map for you if you didn't understand.
Questions:
1. Is it possible to add or remove ability from spellbook by triggers ?
2. How to create Blessing of kings ability wich will increase all stats by X %?
I created a spellbook called Blessing spellbook wich contains 3 blessings(auras that affect only hero who learned that blessing). Player can switch between these 3 blessings so only one blessing can be activated in time.
I figured out mechanism that should do the trick. I created 3 dummy spells wich will be in Blessing spellbook. The 3 dummy spells represent blessings. When a dummy spell is activated it will add a spellbook to hero wich contains passive ability(we will call it real blessing) that does the effect of blessing described by dummy spell in Blessing Spellbook. Then the spellbook will be disabled for player so that i can use button slots for other spells and the effect still lasts. When different dummy ability is activated it will at first remove spellbook containing real blessing and then add different spellbook containg different real blessing and then disabling the spellbook.
Here's the trigger:
-
Learn blessing
-
Events
- Unit - Paladin 0001 <gen> Learns a skill
-
Conditions
- (Learned Hero Skill) Equal to Blessing Spellbook (learn dummy)
-
Actions
- Unit - Remove Blessing Spellbook (learn dummy) from (Triggering unit)
- Unit - Add Blessing Spellbook (real) to (Triggering unit)
-
Events
And you wouldn't expect that but I have problem that dummy spells representing blessings doesn't show up in my blessing spellbook. I don't know how to fix that.
I want to ask you if my thoughts would work. Because of complexity of my system i will upload a map for you if you didn't understand.