1. Is possible give Ability damage of current equipped weapon? (may be different)
example: StunShot Ability - hit target with you current weapon damage and stun for 2 sec
perfect: StunShot Ability - hit target with you (current weapon damage)*factor+bonus and stun for 2 sec
2. Is possible hide Learn <Ability> button after reach maximum level of this ability
example: StunShot have 5 lvls, after reachig 5lvl there are two advanced ability (stun shot with area effect or stun shot with additional debuffs)
i have found how replace StunShot button with one of this Abilities' button, but in Train Ability submenu Learn StunShot become grey and not hided.
3. Is possible add to tooltip some variables?
example:
lvl 1 StunShot deal 10 damage and stun for 2 sec
lvl 2 StunShot deal 20 damage and stun for 2.5 sec
tooltip must look like:
Stun Shot
$num Damage
$num sec. Stun
perfect: Behavior effects(like normal weapon tooltip)
example: StunShot have bonus to damage from attribute behavior "Strengh"
1. Is possible give Ability damage of current equipped weapon? (may be different)
Yes, Link the Ability to the Damage Effect.
example: StunShot Ability - hit target with you current weapon damage and stun for 2 sec
Use an effect "SET" type which can apply multiple effects to a target. (weapon damage, and a second apply behavior for your stun debuff)
perfect: StunShot Ability - hit target with you (current weapon damage)*factor+bonus and stun for 2 sec
Same as above. with the effect SET, but you might need to create a new damage effect to use the factor, but it should be possible.
2. Is possible hide Learn <Ability> button after reach maximum level of this ability
example: StunShot have 5 lvls, after reachig 5lvl there are two advanced ability (stun shot with area effect or stun shot with additional debuffs) i have found how replace StunShot button with one of this Abilities' button, but in Train Ability submenu Learn StunShot become grey and not hided.
If you are using a Learn Ability (Which I highly Reccommend) there is a toggle called hide at max level.
3. Is possible add to tooltip some variables?
example:
lvl 1 StunShot deal 10 damage and stun for 2 sec
lvl 2 StunShot deal 20 damage and stun for 2.5 sec
tooltip must look like:
Stun Shot
$num Damage
$num sec. Stun
perfect: Behavior effects(like normal weapon tooltip) example: StunShot have bonus to damage from attribute behavior "Strengh"
Stun Shot
$num+$bonus Damage
$num sec. Stun
ps: sorry for my engrish ;)
This one is harder. because of the way tool-tips and buttons work. the easiest way is to make the main tool-tip include all the levels in a breakdown
Exp:
"Does extra damage and stuns the target
Level 1: 10 dmg and 2 second stun
Level 2: 20 dmg and 3 second stun"
But this will cause it to show up no matter what level is trained. To make the tool-tips work for whatever level is trained/about to be trained you would need to create a new button with tool-tip for every level of the ability and then create requirements for the show and use of each button relating to the current level of the ability in the learn. AKA a real PITA.//
I don't know how to link an ability to an item weapon. although I am interested in this as well.
When I think about it you would probably have to use triggers to augment the current weapon's effects based on the ability level of the hero unit.
I don't know if there's a way to have an effect from an ability target and augment an effect belonging to an attached weapon.
the easier way to do it I think would be to give the hero a base weapon and make your weapon items augment his base attack instead of being completely new weapons.
all without triggers - data editor only.
1. Is possible give Ability damage of current equipped weapon? (may be different)
example: StunShot Ability - hit target with you current weapon damage and stun for 2 sec
perfect: StunShot Ability - hit target with you (current weapon damage)*factor+bonus and stun for 2 sec
2. Is possible hide Learn <Ability> button after reach maximum level of this ability
example: StunShot have 5 lvls, after reachig 5lvl there are two advanced ability (stun shot with area effect or stun shot with additional debuffs) i have found how replace StunShot button with one of this Abilities' button, but in Train Ability submenu Learn StunShot become grey and not hided.
3. Is possible add to tooltip some variables?
example:
lvl 1 StunShot deal 10 damage and stun for 2 sec
lvl 2 StunShot deal 20 damage and stun for 2.5 sec
tooltip must look like:
Stun Shot
perfect: Behavior effects(like normal weapon tooltip) example: StunShot have bonus to damage from attribute behavior "Strengh"
Stun Shot
ps: sorry for my engrish ;)
1. example: Pretty sure it is, you might even be able to do this without triggers by linking some fields.
1. perfect: Should be possible with triggers at least, might even be possible without them
2. Yes you can hide them, you need to use requirements/validators
3. Yes it is, I think we are still working out what they are. Some of them are easy, some of them I'm not sure how to use.
@KratsAU: Go
Yes, Link the Ability to the Damage Effect. this will work if hero has fixed weapon, but if i use Items with different attached weapon ?
If you are using a Learn Ability (Which I highly Reccommend) there is a toggle called hide at max level. thanks
This one is harder.... make the main tool-tip include all the levels not one what i wont, but cat is fine too, thanks.
@denadan: Go
I don't know how to link an ability to an item weapon. although I am interested in this as well.
When I think about it you would probably have to use triggers to augment the current weapon's effects based on the ability level of the hero unit.
I don't know if there's a way to have an effect from an ability target and augment an effect belonging to an attached weapon.
the easier way to do it I think would be to give the hero a base weapon and make your weapon items augment his base attack instead of being completely new weapons.
I haven't played around with this concept yet.
Where is the Hide at max level toggle?