- Joined
- Jul 20, 2011
- Messages
- 77
im currently making a summoner spell system, like in league of legends. for my hero arena.
when the game starts each player can pick a "mastery spell" by upgrading their "choose a spell" building.
here is the problem, i need help making instant cast spells that effect your hero or targeted ones, but i am not sure how to set up the variables, remove leaks, and target casting players hero.
List of spells i need help with
Mend - AoE heal - Instantly heals your hero and nearby allies for 375 health
Reveal - AoE reveal - Reveals the area around your hero, also reveals invisble
Guardian - summons a unit at position of your hero (i can make unit i just need the ability too summon it)
Replenish - AoE mana heal - Instantly replenishes 450 mana
Sabotage - Reduces enemy heroes armor too 0 for 10 seconds
Polymorph - Polymorphes an enemy hero for 5 seconds
Enrage - increases heros attack by 35 for 10 seconds
Thank you in advance for help, ill give rep and credit for spells. any advice on cleaning variable arrays and targeting certain units. i haven't used the editor in a half a year.
when the game starts each player can pick a "mastery spell" by upgrading their "choose a spell" building.
here is the problem, i need help making instant cast spells that effect your hero or targeted ones, but i am not sure how to set up the variables, remove leaks, and target casting players hero.
List of spells i need help with
Mend - AoE heal - Instantly heals your hero and nearby allies for 375 health
Reveal - AoE reveal - Reveals the area around your hero, also reveals invisble
Guardian - summons a unit at position of your hero (i can make unit i just need the ability too summon it)
Replenish - AoE mana heal - Instantly replenishes 450 mana
Sabotage - Reduces enemy heroes armor too 0 for 10 seconds
Polymorph - Polymorphes an enemy hero for 5 seconds
Enrage - increases heros attack by 35 for 10 seconds
Thank you in advance for help, ill give rep and credit for spells. any advice on cleaning variable arrays and targeting certain units. i haven't used the editor in a half a year.