- Main Page
- Classes
- Files

- File List
- File Members

# E:/uas2/Server/Wand.h

    00001 /*
    00002 * This file is part of UAS2.
    00003 *
    00004 * UAS2 is free software; you can redistribute it and/or modify
    00005 * it under the terms of the GNU General Public License as published by
    00006 * the Free Software Foundation; either version 2 of the License, or
    00007 * (at your option) any later version.
    00008 *
    00009 * UAS2 is distributed in the hope that it will be useful,
    00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00012 * GNU General Public License for more details.
    00013
    00014 * You should have received a copy of the GNU General Public License
    00015 * along with UASv1; if not, write to the Free Software
    00016 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    00017 */
    00018
    00019 #ifndef __WAND_H
    00020 #define __WAND_H
    00021
    00022 #include "Object.h"
    00023 #define DAMAGE_MAGIC    0x2
    00024 //Cubem0j0: don't need this struct...
    00025 /*
    00026 struct cWandInfo
    00027 {
    00028         DWORD           m_dwDamageType;
    00029         DWORD           m_dwSkillUsed;
    00030         int                     m_iLowerDamage;
    00031         int                     m_iUpperDamage;
    00032         int                     m_iAttackModifier;
    00033         int                     m_iDefenseModifier;
    00034         int                     m_iSpeed;
    00035
    00036         cWandInfo( )
    00037                 :       m_dwSkillUsed           ( SKILL_WAR_MAGIC ),
    00038                         m_dwDamageType          ( DAMAGE_MAGIC ),
    00039                         m_iSpeed                        ( 20 ),
    00040                         m_iLowerDamage          ( 1 ),
    00041                         m_iUpperDamage          ( 4 ),
    00042                         m_iAttackModifier       ( 0 ),
    00043                         m_iDefenseModifier      ( 0 )
    00044         {
    00045         }
    00046 };
    00047 *//*
    00048 class cWand : public cAbiotic
    00049 {
    00050 public:
    00051         cWand( DWORD dwGUID, cLocation& Loc, DWORD dwModel, float flScale, DWORD dwIcon, std::string strName, std::string strDescription, DWORD dwWeight, DWORD dwValue, BOOL fIsOwned = FALSE, DWORD dwContainer = 0 )
    00052         {
    00053                 m_dwGUID                        = dwGUID;
    00054                 m_bInventorySequence= -1;
    00055                 m_strName                       = strName;
    00056                 m_strDescription        = strDescription;
    00057                 m_dwModel                       = dwModel;
    00058                 m_wIcon                         = dwIcon;
    00059                 m_fIsOwned                      = FALSE;
    00060                 m_dwContainer           = dwContainer;
    00061                 m_dwWeight                      = dwWeight;
    00062                 m_dwValue                       = dwValue;
    00063                 m_fEquippable           = TRUE;
    00064                 m_fIsStackable          = FALSE;
    00065                 m_fSelectable           = TRUE;
    00066                 m_flScale                       = flScale;
    00067                 m_fEquipped                     = 0;
    00068                 m_wNumLogins            = 0x3C;
    00069                 m_wPositionSequence     = 0;
    00070                 m_wNumPortals           = 0;
    00071
    00072                 CopyMemory( &m_Location, &Loc, sizeof( cLocation ) );
    00073         }
    00074         cWand( ) {}
    00075
    00076         // Use the Abiotic createpacket( ) for now
    00077         cMessage        CreatePacket( );
    00078         void Assess( cClient *pcAsseser );
    00079
    00080 private:
    00081
    00082 };
    00083 */
    00084 #endif  // #ifndef __WEAPON_H