HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Is it possible to ...

08-20-2004, 06:56 AM#1
wheee
Hey,

I was wondering if it's possible to do any of the following (in Triggers/JASS):

1. get attack speed, and damage-range of hero or any other combat-stats

2. disable death animation + sounds of hero (is it possible through the object module?)

3. is it possible to find out the formula used to determine dmg based on the str or int or agi (depending on the hero's main attribute)?

4. to set the attribute of a hero such that it's icon won't be displayed in the top-left corner of the screen - I know this is settable in the object-module, but I'm looking for a trigger solution

5. is remove(unit) bad to use?

Thanks.
08-20-2004, 09:37 AM#2
Anitarf
3. The damage of a hero is equal to the primary attribute + damage dice. The dice can be changed in the object editor, and the ammount of damage per primary attribute point can be determined in the gameplay constants (as said before, by default, it is 1)
08-20-2004, 11:05 AM#3
SpadeZ
2. Its not possible through Object Editor. I'm not sure if it is through triggers.

5. "Remove (unit)" is good in ways but can have its flaws. If a unit dies and is removed its corpse is removed, this is generally a good thing, but in exceptions it is bad. If your map has alot of corpse reanimating spells or corpse summonin spells, then "Remove (unit)" is pretty bad. But generally, "Remove (unit)" is a good way to prevent memory leaks and reduce lag.