sentrywiz
S
sentrywiz
Hi!
I got a problem. Atleast a moderate one:
-Heroes purchase spells. Each hero should at normal logic purchase more spells than possible, this also has a hotkey issue. Multiple spells, ment for different classes share the Q or W or E or R hotkey.
? How to make that hotkeys don't overlap, meaning a hero purchases two Q spells, but one of them is bound to a new hotkey. The only solution is a huge if else then that will check which abilities the hero has. But that solution means I have to make that huge if else then for every spell possible, create multiple instances of each spell with a different hotkey so they don't overlap.
Thoughts, ideas are welcomed. Thank you!
I got a problem. Atleast a moderate one:
-Heroes purchase spells. Each hero should at normal logic purchase more spells than possible, this also has a hotkey issue. Multiple spells, ment for different classes share the Q or W or E or R hotkey.
? How to make that hotkeys don't overlap, meaning a hero purchases two Q spells, but one of them is bound to a new hotkey. The only solution is a huge if else then that will check which abilities the hero has. But that solution means I have to make that huge if else then for every spell possible, create multiple instances of each spell with a different hotkey so they don't overlap.
Thoughts, ideas are welcomed. Thank you!