Phasor  01.00.10.059
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
damagelookup.h File Reference

Callback functions for use in OnDamageLookup. More...

#include "PhasorAPI.h"
#include "../Phasor/Halo/Halo.h"

Go to the source code of this file.

Namespaces

namespace  halo
 
namespace  odl
 

Functions

void odl::setData (halo::damage_script_options *opts_, halo::s_damage_info *dmg, const halo::ident &receiver)
 
void odl::reset ()
 
void l_odl_causer (PHASOR_API_ARGS)
 Sets the casuer of the damage to the specified object.
 
void l_odl_receiver (PHASOR_API_ARGS)
 Sets the receiver of the damage to the specified object.
 
void l_odl_tag (PHASOR_API_ARGS)
 Can be used to change the type of damage which is being applied.
 
void l_odl_multiplier (PHASOR_API_ARGS)
 Can be used to change the amount of damage being done.
 
void l_odl_flags (PHASOR_API_ARGS)
 Read/Write data to the flags used in damage lookup.
 

Detailed Description

Callback functions for use in OnDamageLookup.

These functions can be used to change the behaviour of OnDamageLookup. They should be used if you want to change the damage tag, causer or receiver etc.

Remarks
Only call these functions from within OnDamageLookup.