class MagicWeapon

Is a weapon which has some magic added. More...

Definition#include <magicweapon.h>
InheritsWeapon
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

Is a weapon which has some magic added.

MagicWeapon (int Speed,int DT,int dice,int sides,int bonus,char *AName,int Weight,int magbonus)

Creates a MagicWeapon with specs as in Weapon::Weapon(int,int,int,int,int,char*,int), except with magic weapon bonus magbonus

int returnDamage ()
[virtual]

Returns a damage roll with magic added

bool isMagic ()
[virtual]

Returns whether or not the weapon is magic.

int getPluses ()
[virtual]

Returns the number of pluses on the weapon.