# Available Packages:

Back to index
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/Wurst
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Ability
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Boolexpr
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Camera
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Destructable
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Dialog
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Effect
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Fogmodifier
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Force
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/ForceTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Framehandle
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/GameCache
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/GameCacheTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Group
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/GroupTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Hashtable
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/HashtableTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Image
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Item
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Lightning
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Multiboard
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Player
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Playercolor
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Quest
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/QuestItem
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/QuestItemTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/QuestTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Rect
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Region
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Sound
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Texttag
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Timer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/TimerDialog
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Trigger
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Unit
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Weather
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Widget
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/_Handles
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Boolean
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Integer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/PrimitivesTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Real
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Reference
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/String
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/StringTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/_Primitives
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Annotations
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Basics
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/ErrorHandling
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/MagicFunctions
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Reflection
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/TypeCasting
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Wurstunit
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Abilities
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/AbilityIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Assets
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/AttachmentPoints
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/BuffIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Buildings
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Doodads
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Environment
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/FramehandleNames
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Icons
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/ItemIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Objects
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/OrderIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Orders
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/PathingMaps
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Sounds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Soundsets
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Textures
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Tiles
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/UI
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/UnitAnimations
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/UnitIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Units
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/WeatherEffects
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureEvents
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureEventsTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureForGroups
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureFrames
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureKeyPresses
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureTimers
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/Execute
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/BitSet
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashList
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashListTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashMap
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashMapTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashSet
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashSetTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedList
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedListModule
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedListModuleTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedListTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/Table
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/DummyCaster
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/DummyDamage
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/DummyRecycler
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/Fx
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/Fx2
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/InstantDummyCaster
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/DamageDetection
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/DamageEvent
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/EventHelper
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/LastOrder
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/OnUnitEnterLeave
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/RegisterEvents
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/Base64
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/Base64Tests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/ByteBuffer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/ChunkedString
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/FileIO
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/GameStatus
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/SaveLoadData
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/Serializable
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/SyncSimple
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Angle
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/BigNum
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Bitwise
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/BitwiseInit
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/BitwiseTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Interpolation
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Maths
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Matrices
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/MatricesTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Quaternion
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/QuaternionTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Raycast
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Vectors
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/AbilityObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/BuffObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/DestructableObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ItemObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ObjEditingCommons
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ObjEditingNatives
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ObjectIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/TargetsAllowed
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/UnitObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/UpgradeObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/ChannelAbilityPreset
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/HeroPreset
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/ObjectIdGenerator
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/OrderStringFactory
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Board
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Cinematic
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Colors
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/DialogBox
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/EffectUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/GameTimer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/GroupUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Knockback3
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/MapBounds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Preloader
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Printing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/SafetyChecks
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Simulate3dSound
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/SoundUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/StandardTextTags
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/StringUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/StringUtilsTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/TerrainUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Time
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/TimerUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/UnitIndexer

# DamageEvent

Source

### DamageElement DAMAGE_ELEMENT_ATTACK

Source

A damage instance can have an element. DAMAGE_ELEMENT_ATTACK is the defaut element added to any damage instances of DamageType ATTACK

### function getDamageDesignation(DamageType t, DamageElement e) returns string

Source

Returns a damage designation given a DamageType and a DamageElement

### function getDamageTypeName(DamageType t) returns string

Source

Returns the name of the given DamageType

## class DamageElement

Source

Each damage instance can have a DamageElement associated to it. Allowing for categories of damage instances: DAMAGE_ELEMENT_FIRE = new DamageElement("Fire", colorA(255, 0, 0, 255)) DAMAGE_ELEMENT_WATER = new DamageElement("Water", colorA(0, 0, 255, 255)) The user can extends from DamageElement to add his own settings.

### 'unknown type' (the type colorA could not be found, the containing package might not be imported) color

Source

### string name

Source

### function getColor() returns 'unknown type' (the type colorA could not be found, the containing package might not be imported)

Source

### function getName() returns string

Source

## class DamageEvent

Source

### boolean abort

Source

### DamageListener array(dimensions = 1) firstListeners

Source

### DamageListener array(dimensions = 1) firstUnreducedListeners

Source

### int maxPriority

Source

### int maxUnreducedPriority

Source

### DamageElement nextDamageElement

Source

### int nextDamageId

Source

### DamageType nextDamageType

Source

### function abortCurrent()

Source

Nulls the damage amount and skip all remaining listeners for the damage instance being currently fired

### function addAmount(real amount)

Source

Adds to the damage amount of the damage instance being currently fired

### function addListener(DamageListener listener) returns DamageListener

Source

Adds a damage event listener. If The order of firing is important, use addListener(priority, listener)

### function addListener(int priority, DamageListener listener) returns DamageListener

Source

Adds a damage event listener with a given priority. Listeners of different priorities fire from the lowest priority to the highest priority added. Listeners of the same priority fire by order of addition (FIFO)

### function addUnreducedListener(DamageListener listener) returns DamageListener

Source

Adds a damage event listener that fires before any damage reduction is applied (such as armor). If The order of firing is important, use addListener(priority, listener)

### function addUnreducedListener(int priority, DamageListener listener) returns DamageListener

Source

Adds a damage event listener with a given priority that fires before any damage reduction is applied (such as armor). Listeners of different priorities fire from the lowest priority to the highest priority added. Listeners of the same priority fire by order of addition (FIFO)

### function getAmount() returns real

Source

Returns the damage amount of the damage instance being currently fired

### function getAttackType() returns attacktype

Source

Returns the attacktype of the damage instance being currently fired

### function getDamageType() returns damagetype

Source

Returns the damagetype of the damage instance being currently fired

### function getElement() returns DamageElement

Source

Returns the DamageElement of the damage instance being currently fired

### function getId() returns int

Source

Returns the id of the damage instance being currently fired

### function getNativeDamageReductionPercent() returns real

Source

Returns the percent of damage reduced from the *original unreduced amount* by damage reducing effects. If the damage instance is still unreduced, returns zero

### function getOriginalAmount() returns real

Source

Returns the original reduced damage amount of the damage instance being currently fired

### function getSource() returns unit

Source

Returns the source of the damage instance being currently fired

### function getTarget() returns unit

Source

Returns the target of the damage instance being currently fired

### function getType() returns DamageType

Source

Returns the DamageType of the damage instance being currently fired

### function getUnreducedAmount() returns real

Source

Returns the unreduced damage amount of the damage instance being currently fired

### function getUnreducedOriginalAmount() returns real

Source

Returns the original unreduced damage amount of the damage instance being currently fired

### function getWeaponType() returns weapontype

Source

Returns the weapontype of the damage instance being currently fired

### function isFiring() returns boolean

Source

Returns true if a damage instance is currently firing

### function onDamage()

Source

### function onUnreducedDamage()

Source

### function removeListener(DamageListener listener)

Source

### function removeUnreducedListener(DamageListener listener)

Source

### function setAmount(real amount)

Source

Sets the damage amount of the damage instance being currently fired

### function setAttackType(attacktype attackType)

Source

Sets the attacktype of the damage instance being currently fired

### function setDamageType(damagetype damageType)

Source

Sets the damagetype of the damage instance being currently fired

### function setNextDamageElement(DamageElement damageElement)

Source

Sets the DamageElement for the next damage instance

### function setNextDamageFromCode()

Source

Sets the DamageType to CODE for the next damage instance

### function setNextDamageId(int id)

Source

Sets the id for the next damage instance

### function setNextDamageType(DamageType damageType)

Source

Sets the DamageType for the next damage instance

### function setWeaponType(weapontype weaponType)

Source

Sets the weapontype of the damage instance being currently fired

### function subAmount(real amount)

Source

Substracts from the damage amount of the damage instance being currently fired

## class DamageListener

Source

### DamageListener next

Source

### DamageListener prev

Source

### int priority

Source

### boolean unreduced

Source

### function onEvent()

Source