• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

A funny error occurs with leveling abilities

Status
Not open for further replies.
Level 14
Joined
Nov 17, 2010
Messages
1,265
Can't you also reset the cooldown of one spell without resetting the others by saving it's level and then removing it and readding it?
 
Can't you also reset the cooldown of one spell without resetting the others by saving it's level and then removing it and readding it?
This doesn't work for spells inside a spellbook. The Inc/Dec level trick is the only way to reset a cooldown of a single spell inside a spellbook.

Btw, it should be noted that this only works with the IncUnitAbilityLevel and DecUnitAbilityLevel natives. It doesn't work with SetUnitAbilityLevel.
 
Status
Not open for further replies.
Top