pandemonium_engine/modules/entity_spell_system/doc_classes/SpellDamageInfo.xml

52 lines
1.9 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
2024-02-25 10:26:26 +01:00
<class name="SpellDamageInfo" inherits="Reference" version="4.3">
<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>
2022-09-10 04:18:55 +02:00
<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>
2023-06-13 16:51:37 +02:00
<member name="damage_type" 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>