- Joined
- Mar 14, 2021
- Messages
- 54
I'm not sure if it's necessary now because of the Reforged UI and UI-Mania systems, as fenix140 mentioned. I've been playing around with morphs to add range to a unit, and suddenly I got a unit with more than 5 spells to learn using the 'AHer' ability. Since it's a glitch, it has its own mechanics for handling the new spell package.![]()
The topic
- As you know, morphs aren't usually used because they can break a unit and such, but testing the unit with Ilidan's Metamorphosis didn't find any errors that would occur once the glitch was created. So let's use this ability.
The glitch
- To apply this glitch, you need a morph (within a power-up item) that transforms the hero into a normal unit. Then, using a deto event that detects the morph's effects as soon as they begin, you remove it. Next, you add another Morph power-up item that already has a hero-type unit, so that the unit reverts to being a hero again. However, you must meet these requirements:
- The morph must be inside a power-up item so that the game engine applies the effects immediately without interrupting the hero's commands. Note: the hero's inventory must not be silenced with Polymorph or Doom.
- There must be a morph that transforms the hero into a normal unit to generate the glitch.
The effect of having two 'AHer's is that the game gets confused and only levels one skill pack for the hero (I think XD). But if you had skill points before creating the glitch, it can level spells from the old spell pack; obviously, there are two leveling points (kind of weird). I have no idea why, but it's something the game doesn't take into account, lol.
The uses
It's simply about having more options to level up a hero's skill in a vanilla way without using additional things, just the Skills menu. Perhaps it would be useful in morph maps, angel arena, or maps like Dota LOD.
- Note 1: It appears the bug doesn't cause errors in other transformations, as I implemented one and didn't observe the unit gaining any additional stats or anything similar, nor did it generate any errors. However, it still needs testing. For reference, I'm using leantropt's code for heroic units, which previously discovered a workaround for granting abilities to a normal unit.
- Note 2: There might be a crash when leaving the map if engineering upgrades are used on the unit before any additional learned skills are added. This only happens if the engineering skill is made permanent. It's a bit strange, but perhaps it's related to something in the UI.- Interesting fact: Skills can be added before the glitch is applied. It seems the game hides them internally.
- Note 3: The maximum number of spells you can have is 10. I'd never actually seen this before, but I managed to exploit some tricks to make this glitch work effectively.
- Note 2: There might be a crash when leaving the map if engineering upgrades are used on the unit before any additional learned skills are added. This only happens if the engineering skill is made permanent. It's a bit strange, but perhaps it's related to something in the UI.- Interesting fact: Skills can be added before the glitch is applied. It seems the game hides them internally.
- Note 3: The maximum number of spells you can have is 10. I'd never actually seen this before, but I managed to exploit some tricks to make this glitch work effectively.
PD: The only thing missing is enabling a power-up book to cast Fire Arrow skills, so the unit's damage can be dealt immediately without the unit interrupting the command. Since Blizzard didn't include real-time attack detection, what else could it be? XD
: (Thanks to the Worldeditores Latam community Discord server for keeping the 1.27b community active; otherwise, I wouldn't have these glitches.)
I've attached a map showing the glitch I found. Greetings... (The code is in vjass, so you can use editors like YDWE or JNPG to edit the map.)
Attachments
Last edited: