- Joined
- Sep 26, 2009
- Messages
- 9,521
The goal of these lists is to compile a bunch of fail stuff.
If you'd like to contribute, please don't bother with the uselessness
of location functions like SetUnitPositionLoc, or wrappers such as
GetDestructableX/Y instead of GetWidgetX/Y or GetEnteringUnit as
opposed to GetTriggerUnit.
Ones that do nothing:
Ones that are useless (and why):
Ones that are broken (and why):
*Fix for AddXToAllStock
If you'd like to contribute, please don't bother with the uselessness
of location functions like SetUnitPositionLoc, or wrappers such as
GetDestructableX/Y instead of GetWidgetX/Y or GetEnteringUnit as
opposed to GetTriggerUnit.
Ones that do nothing:
JASS:
TriggerWaitOnSleeps
IsTriggerWaitOnSleeps
SetTerrainFog
FinishUbersplat
ResetUbersplat
AddSpellEffectLoc
AddSpellEffect
AddSpellEffectTarget
AbilityId
AbilityId2String
Ones that are useless (and why):
JASS:
IsUnitIdType //Only works with UNIT_TYPE_HERO and has the same flaw as IsHeroUnitId by only checking if the first letter of the rawcode is an uppercase
IsUnit //Could use unit == otherUnit
TriggerExecuteWait //Does the same thing as TriggerExecute
Deg2Rad & Rad2Deg //Just use the Blizzard.j constants
ability //All associated API - including the "buff" type
Ones that are broken (and why):
JASS:
UnitDamagePoint //Has been known to cause crashes in battle.net (I've experienced it myself)
GroupEnumUnitsOfTypeCounted
GroupEnumUnitsInRectCounted
GroupEnumUnitsInRangeCounted
GroupEnumUnitsInRangeOfLocCounted //Cause irregular behavior when used with large numbers
IsUnitType //Often requires == true or == false when used alone inside a boolexpr
AddItemToAllStock // NOT BUGGED, see link below*
SetUnitScale //Y and Z are usless parameters here, only the X is counted for scale
UnitId2String //Always returns null after the game is loaded/if the game is a replay
*Fix for AddXToAllStock
Last edited by a moderator: