My Project
 
Loading...
Searching...
No Matches
Weapon::Enchantment Class Referenceabstract

#include <weapon.h>

Inheritance diagram for Weapon::Enchantment:
Collaboration diagram for Weapon::Enchantment:

Public Member Functions

virtual boolean proc (Weapon *weapon, Char *attacker, Char *defender, int damage)=0
 
virtual String name (const String &weaponName)
 
virtual void restoreFromBundle (Bundle *bundle)
 
virtual void storeInBundle (Bundle *bundle)
 
virtual ItemSprite::Glowingglowing ()
 

Static Public Member Functions

static Enchantmentrandom ()
 
static void init ()
 

Member Function Documentation

◆ glowing()

ItemSprite::Glowing * Weapon::Enchantment::glowing ( )
virtual

◆ init()

void Weapon::Enchantment::init ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ name()

virtual String Weapon::Enchantment::name ( const String & weaponName)
inlinevirtual

◆ proc()

virtual boolean Weapon::Enchantment::proc ( Weapon * weapon,
Char * attacker,
Char * defender,
int damage )
pure virtual

Implemented in Death, EnchantmentFire, EnchantmentParalysis, EnchantmentPoison, EnchantmentSlow, Horror, Instability, Leech, Luck, Shock, and Tempering.

Here is the call graph for this function:

◆ random()

Weapon::Enchantment * Weapon::Enchantment::random ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ restoreFromBundle()

virtual void Weapon::Enchantment::restoreFromBundle ( Bundle * bundle)
inlinevirtual

◆ storeInBundle()

virtual void Weapon::Enchantment::storeInBundle ( Bundle * bundle)
inlinevirtual

The documentation for this class was generated from the following files: