mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 20:36:53 +01:00
52 lines
1.9 KiB
XML
52 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="SpellDamageInfo" inherits="Reference" version="3.10">
|
|
<brief_description>
|
|
Contains damage information. It is passed around in callbacks, so things can modify values. (absorbs, immunities etc.)
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="reset">
|
|
<return type="void" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="amount_absorbed" type="int" setter="amount_absorbed_set" getter="amount_absorbed_get" default="0">
|
|
</member>
|
|
<member name="aura_source" type="Spell" setter="aura_source_set" getter="aura_source_get">
|
|
</member>
|
|
<member name="crit" type="bool" setter="crit_set" getter="crit_get" default="false">
|
|
</member>
|
|
<member name="damage" type="int" setter="damage_set" getter="damage_get" default="0">
|
|
</member>
|
|
<member name="damage_type_get" type="int" setter="damage_type_set" getter="damage_type_get" default="0">
|
|
</member>
|
|
<member name="dealer" type="Entity" setter="dealer_set" getter="dealer_get">
|
|
</member>
|
|
<member name="immune" type="bool" setter="set_immune" getter="get_immune" default="false">
|
|
</member>
|
|
<member name="receiver" type="Entity" setter="receiver_set" getter="receiver_get">
|
|
</member>
|
|
<member name="source" type="Reference" setter="source_set" getter="source_get">
|
|
</member>
|
|
<member name="source_id" type="int" setter="source_set_id" getter="source_get_id" default="0">
|
|
</member>
|
|
<member name="source_type" type="int" setter="source_set_type" getter="source_get_type" default="0">
|
|
</member>
|
|
<member name="spell_source" type="Spell" setter="spell_source_set" getter="spell_source_get">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="DAMAGE_SOURCE_UNKNOWN" value="0">
|
|
</constant>
|
|
<constant name="DAMAGE_SOURCE_SPELL" value="1">
|
|
</constant>
|
|
<constant name="DAMAGE_SOURCE_AURA" value="2">
|
|
</constant>
|
|
</constants>
|
|
</class>
|