Horizon Official Technical Documentation
Horizon::Zone::Bonuses::s_add_effect Struct Reference

#include <BonusesImpl.hpp>

Public Types

enum  auto_trigger_type {
  ATF_SELF = 0x01 , ATF_TARGET = 0x02 , ATF_SHORT = 0x04 , ATF_LONG = 0x08 ,
  ATF_WEAPON = 0x10 , ATF_MAGIC = 0x20 , ATF_MISC = 0x40
}
 

Public Attributes

int eff_id
 Effect ID. More...
 
int16_t rate
 Base success rate. More...
 
int16_t arrow_rate
 Success rate for ranged attacks. More...
 
uint8_t tigger_type
 Trigger flag (. More...
 
uint16_t duration
 Optional, non-reducible duration in ms. If 0, the default, reducible effect's duration is used. More...
 

Member Enumeration Documentation

◆ auto_trigger_type

Enumerator
ATF_SELF 
ATF_TARGET 
ATF_SHORT 
ATF_LONG 
ATF_WEAPON 
ATF_MAGIC 
ATF_MISC 
579 {
580 ATF_SELF = 0x01,
581 ATF_TARGET = 0x02,
582 ATF_SHORT = 0x04,
583 ATF_LONG = 0x08,
584 ATF_WEAPON = 0x10,
585 ATF_MAGIC = 0x20,
586 ATF_MISC = 0x40
587 };
@ ATF_WEAPON
Definition: BonusesImpl.hpp:584
@ ATF_MISC
Definition: BonusesImpl.hpp:586
@ ATF_SELF
Definition: BonusesImpl.hpp:580
@ ATF_SHORT
Definition: BonusesImpl.hpp:582
@ ATF_MAGIC
Definition: BonusesImpl.hpp:585
@ ATF_LONG
Definition: BonusesImpl.hpp:583
@ ATF_TARGET
Definition: BonusesImpl.hpp:581

Member Data Documentation

◆ arrow_rate

int16_t Horizon::Zone::Bonuses::s_add_effect::arrow_rate

Success rate for ranged attacks.

Referenced by Horizon::Zone::UnitComponent::sync_data_types().

◆ duration

uint16_t Horizon::Zone::Bonuses::s_add_effect::duration

Optional, non-reducible duration in ms. If 0, the default, reducible effect's duration is used.

Referenced by Horizon::Zone::UnitComponent::sync_data_types().

◆ eff_id

int Horizon::Zone::Bonuses::s_add_effect::eff_id

◆ rate

int16_t Horizon::Zone::Bonuses::s_add_effect::rate

◆ tigger_type

uint8_t Horizon::Zone::Bonuses::s_add_effect::tigger_type

Trigger flag (.

See also
enum auto_trigger_flag)

Referenced by Horizon::Zone::UnitComponent::sync_data_types().


The documentation for this struct was generated from the following file: