#include <buff.h>
|
| static Buff * | append (Char *target, const std::string &buff) |
| |
| static FlavourBuff * | append (Char *target, const std::string &buffClass, float duration) |
| |
| static Buff * | affect (Char *target, const std::string &buffClass) |
| |
| static FlavourBuff * | affect (Char *target, const std::string &buffClass, float duration) |
| |
| static FlavourBuff * | prolong (Char *target, const std::string &buffClass, float duration) |
| |
| static void | detach (Buff *buff) |
| |
| static void | detach (Char *target, const std::string &cl) |
| |
| static void | fixTime () |
| |
| static void | clear () |
| |
| static Char * | findChar (int pos) |
| |
| static Actor * | findById (int id) |
| |
| static void | init () |
| |
| static void | addDelayed (Actor *actor, float delay) |
| |
| static void | remove (Actor *actor) |
| |
| static void | add (Actor *actor) |
| |
| static void | occupyCell (Char *ch) |
| |
| static void | freeCell (int pos) |
| |
| static void | process () |
| |
◆ Buff()
◆ act()
| virtual bool Buff::act |
( |
| ) |
|
|
inlinevirtual |
Implements Actor.
Reimplemented in Barkskin, Bleeding, BuffPoison, Burning, Earthroot::Armor, FlavourBuff, Hunger, Ooze, Regeneration, Ring::RingBuff, Shadows, Sungrass::Health, Viscosity::DeferedDamage, and Wand::Charger.
◆ affect() [1/2]
| Buff * Buff::affect |
( |
Char * | target, |
|
|
const std::string & | buffClass ) |
|
static |
◆ affect() [2/2]
| FlavourBuff * Buff::affect |
( |
Char * | target, |
|
|
const std::string & | buffClass, |
|
|
float | duration ) |
|
static |
◆ append() [1/2]
| Buff * Buff::append |
( |
Char * | target, |
|
|
const std::string & | buff ) |
|
static |
◆ append() [2/2]
| FlavourBuff * Buff::append |
( |
Char * | target, |
|
|
const std::string & | buffClass, |
|
|
float | duration ) |
|
static |
◆ attachTo()
| bool Buff::attachTo |
( |
Char * | target | ) |
|
|
virtual |
Reimplemented in BuffParalysis, Earthroot::Armor, Frost, Invisibility, Levitation, Light, Ring::RingBuff, Roots, Shadows, Sungrass::Health, Viscosity::DeferedDamage, and Wand::Charger.
◆ detach() [1/3]
◆ detach() [2/3]
| void Buff::detach |
( |
Buff * | buff | ) |
|
|
static |
◆ detach() [3/3]
| void Buff::detach |
( |
Char * | target, |
|
|
const std::string & | cl ) |
|
static |
◆ icon()
Reimplemented in Amok, Barkskin, Bleeding, BuffParalysis, BuffPoison, BuffSlow, Burning, Charm, Cripple, Earthroot::Armor, Frost, Hunger, Invisibility, Levitation, Light, MindVision, Ooze, Roots, Shadows, Sungrass::Health, Terror, Vertigo, and Viscosity::DeferedDamage.
◆ prolong()
| FlavourBuff * Buff::prolong |
( |
Char * | target, |
|
|
const std::string & | buffClass, |
|
|
float | duration ) |
|
static |
◆ toString()
| virtual std::string Buff::toString |
( |
| ) |
|
|
pure virtual |
Implemented in Amok, Barkskin, Bleeding, BuffParalysis, BuffPoison, BuffSlow, Burning, Charm, Cripple, Earthroot::Armor, FlavourBuff, Frost, Hunger, Invisibility, Levitation, Light, MindVision, Ooze, Regeneration, RingOfAccuracy::Accuracy, RingOfElements::Resistance, RingOfEvasion::Evasion, RingOfHaggler::Haggling, RingOfHaste::Haste, RingOfHerbalism::Herbalism, RingOfMending::Rejuvenation, RingOfPower::Power, RingOfSatiety::Satiety, RingOfShadows::Shadows, RingOfThorns::Thorns, Roots, Shadows, Sleep, Speed, Sungrass::Health, Terror, Vertigo, Viscosity::DeferedDamage, and Wand::Charger.
◆ target
The documentation for this class was generated from the following files: