JASS Tools
News
Download
Help
JASS Manual
-------------------------------------------------------------

TYPES | FUNCTIONS | VARIABLES

Type attacktype

Global Variables | Functions That Return | Functions That Take

Ancestor Types:handle > attacktype
Children Types:none
Location:common.j, line 89

------------------------------------------------------------

Information about type attacktype

attacktype is used by the damage functions to determine how the damage will act against units with different armor types, this behaviur depends on the gameplay constants related with attack type and armor type.

ATTACK_TYPE_UNKNOWN or null seems to ignore the unit's armor.

BACK TO TOP

------------------------------------------------------------

Global variables of type attacktype:

common.j:
ATTACK_TYPE_CHAOS, ATTACK_TYPE_HERO, ATTACK_TYPE_MAGIC, ATTACK_TYPE_MELEE, ATTACK_TYPE_NORMAL, ATTACK_TYPE_PIERCE, ATTACK_TYPE_SIEGE

BACK TO TOP

------------------------------------------------------------

Functions that return type attacktype (     common.j,      common.ai,      Blizzard.j):

constant native ConvertAttackType (integer i) returns attacktype

BACK TO TOP

------------------------------------------------------------

Functions that take type attacktype as a parameter (     common.j,      common.ai,      Blizzard.j):

native UnitDamagePoint (unit whichUnit, real delay, real radius, real x, real y, real amount, boolean attack, boolean ranged, attacktype attackType, damagetype damageType, weapontype weaponType) returns boolean
function UnitDamagePointLoc (unit whichUnit, real delay, real radius, location loc, real amount, attacktype whichAttack, damagetype whichDamage) returns boolean
native UnitDamageTarget (unit whichUnit, widget target, real amount, boolean attack, boolean ranged, attacktype attackType, damagetype damageType, weapontype weaponType) returns boolean
function UnitDamageTargetBJ (unit whichUnit, unit target, real amount, attacktype whichAttack, damagetype whichDamage) returns boolean

BACK TO TOP

------------------------------------------------------------
Copyright (c) 2003 Jeff Pang
Not affiliated or endorsed by Blizzard Entertainment
SourceForge.net Logo