• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

dummy ability tooltip - need help

Status
Not open for further replies.
Level 10
Joined
Apr 3, 2006
Messages
535
okay, so im making a spell book, everything is fine except certaina bilitys normally passive ones, do not show up in the spell book. I have made it so i can amke a basic dummy tooltip, but when i have an ability wiht mutiple levels i need the tooltip to update witht he levels but i jsut cannot get it to work.

  • Last Stand level up 3 Copy
    • Events
      • Unit - A unit Learns a skill
    • Conditions
    • Actions
  • Then - Actions
    • Unit - Remove Last Stand (Dummy SPell 2) from (buying Hero)
    • Unit - Add Last Stand (Dummy SPell 3 to (buying Hero)

i cant find a condition that checks for unit aiblity learnt so i cant disable the old dummy tooltip and add the new one to the unit, is there a way around this?
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Wow, read your text before posting, there are a lot of typo's in it...

I also don't really get what you want, but is it something like this?
you want to upgrade a spell-book, so the tooltips of the abilities inside it change, together with their levels.


If so, just create a spell-book with multiple levels, create a few abilities (the abilities inside the spell-book), then set the abilities inside the spell-book to the correct ones.
Upgrade the spell book when the hero levels.


Spell Book Data

  • Level 1 - Data - Spell List: Bash (L1)
  • Level 2 - Data - Spell List: Bash (L2), Critical Strike (L1)
  • Level 3 - Data - Spell List: Bash (L3), Critical Strike (L2), Evasion (L1)
  • ...

Then just upgrade the spell book level, I think you can do that yourself....
 
Level 10
Joined
Apr 3, 2006
Messages
535
I do not want a spell book that levels up when hero reaches certain levels i think thats lame and takes away alot of the customization of an RPG. I am making it so a hero chooses what skills they want when they level, and all is fine except passive abilitys do not appear in the spell book so i am having to use a dummy ability. My question is how do i get the dummy ability used as the tooltip showing the correct spell level + details to change when the ability levels up.
 
Level 10
Joined
Apr 3, 2006
Messages
535
no i cannot figure out a way to upgrade the dummy spell when the normal one, actually levels up. i cant find a condition that checks for unit aiblity learnt so i cant disable the old dummy tooltip and add the new one to the unit, is there a way around this?
as in something that can check for level of unit ability.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
This requires a lot of work, because you probably have a lot of abilities, but this should work:

  • Ability Level
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of [Ability] for [Your Unit]) Greater than (Level of [Dummy Ability] for [Your Unit])
        • Then - Actions
          • Unit - Set level of [Dummy Ability] for [Your Unit] to (Level of [Ability] for [Your Unit])
        • Else - Actions
 
Status
Not open for further replies.
Top