HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Issues with an instant morph ability ?

06-02-2009, 05:54 PM#1
Troll-Brain
I plan to recycle all my units, but to have least units as possible in the same time in the map, i plan to use morphs abilities.
I know that at least few patchs before, there were side effects with this kind of abilities.
Are they fixed ?
If not, what are theses issues ?

Plz don't judge about the usefulness of it or not, thx.
06-02-2009, 07:31 PM#2
Bobo_The_Kodo
The "uninterruptable" flag can cause bugs
06-02-2009, 07:33 PM#3
Troll-Brain
You don't get what sort of abilities i want mean, you know like the orc abilities in the war3 campaign, orcs -> demons, in fact the Chaos abilities.
Like 'Sca1'
06-02-2009, 07:36 PM#4
Bobo_The_Kodo
Oh

Then remove all aura buffs from them before you add the chaos ability
06-02-2009, 07:41 PM#5
Troll-Brain
Quote:
Originally Posted by Bobo_The_Kodo
Oh

Then remove all aura buffs from them before you add the chaos ability

There are no more side effects ?

EDIT :

http://www.wc3c.net/showthread.php?t=81742

Quote:
Originally Posted by PitzerMike
Sca1 (Chaos): Adding a chaos ability to a unit transforms it into the unit type specified in the target unit id field of the ability. This can be used to change any aspect like the proper name or the model of a unit in the game or simply in combination with channel to implement morphing spells. Don't forget to remove the tech requirements from custom chaos abilities. One problem of Chaos is that it adds the morphed unit's current armor, damage, health and mana bonus received from items, auras and srength, agility, intelligence to the stats of the resulting unit. That means it's not a very good idea to morph heroes using chaos until Blizzard fixes those bugs. Ordinary units can't be affected by items and hero stats, so the only problem are buffs received from auras. Those buffs can easily be removed before the conversion and are automatically added again afterwards so that's not a real issue.

i just want to know if it is fixed, and if there are other side effects which you know.
06-02-2009, 07:48 PM#6
Bobo_The_Kodo
There's more info here: http://www.wc3c.net/showthread.php?t=81742
06-02-2009, 07:49 PM#7
Troll-Brain
See my edit :p
06-02-2009, 08:42 PM#8
Kyrbi0
Well, I don't know if this applies to Chaos or when it's used in conjunction with Dark Conversion... But I've found that Chaos used on summoned units tends to remove the Expiration Timer, as well as all their given abilities from the Object Editor.

Still, could be an issue with another ability (like the neutral "Factory" one).
06-02-2009, 08:44 PM#9
moyack
In my project PoC I use unit recycling and Chaos morphing in order to improve the reusability of the units.

Bugs that I've found:

* never convert land unit into flying unit and viceversa, it makes the converted flying unit "fly" on the ground or a land unit hovering.
* Convert a normal unit into a worker, makes this worker adept to attack enemies (the AI will add them to the attack groups for instance). I haven't tested the opposite (convert a worker unit into a normal unit)

In general, chaos doesn't implement properly the unittypes and the classifications.
06-04-2009, 06:50 PM#10
Troll-Brain
@Kyrbi0 : ok i will make some tests about these cases.

Quote:
Originally Posted by moyack
In general, chaos doesn't implement properly the unittypes and the classifications.

Can we fix it, if we use IsUnitType, and UnitAddType ?
06-04-2009, 08:32 PM#11
Bobo_The_Kodo
UnitAddType doesn't add any properties of the types, it just works with IsUnitType
06-06-2009, 04:41 AM#12
ToukoAozaki
I performed a test about this. It seems that units are unaffected by the bonuses at all; only heroes seem to cause problem.
06-06-2009, 05:22 PM#13
Troll-Brain
Quote:
Originally Posted by Bobo_The_Kodo
UnitAddType doesn't add any properties of the types, it just works with IsUnitType

What do you want mean exactly, can you give an example ?

Quote:
Originally Posted by ToukoAozaki
I performed a test about this. It seems that units are unaffected by the bonuses at all; only heroes seem to cause problem.
Even if the unit is under effect of/has an aura or/and has an inventory with item bonus ?
06-07-2009, 06:16 AM#14
ToukoAozaki
Quote:
Originally Posted by Troll-Brain
Even if the unit is under effect of/has an aura or/and has an inventory with item bonus ?

I've tested two siege engines (with inventory), two peasants and a paladin with Kodo + inner fire + items.
The test result is obvious; units are not affected by any bonuses in any way. Even with the simplest logic, we can assume that easily. There are melee units that use Chaos transformation, and everyone would notice it if they had bugs.

However, heroes are a bit different. I've tested two paladins types switching to each other. While morphing into the same type messes up with damage and armor, morphing into a different type seem to mess up with only armor. All stats, damage bonus item, damage bonus buff and damage bonus aura didn't cause any weird effects. One thing to note is that armor bonuses from hero stats is also perfectly safe.

However, using heroes with different stats, armor, and damage may yield a different result. Someone should test it.

Added: morphing multiple times too quick also seem to cause some glitches. Normally, non-stat damage bonus is temporarily gone while being morphed. However, if unit is morphed multiple times without enough delay, this will mess up with non-armor stats too.
06-07-2009, 12:01 PM#15
Troll-Brain
Thx for the tests dude.