Planeshift
psAttackType Struct Reference

This struct holds data for generic attack types This could be for example an assassin attack which would require maybe daggers. More...

#include <psattack.h>

Public Attributes

unsigned int id
 
csString name
 the id number, corresponding to its id in the database More...
 
bool OneHand
 if list is not empty, weapon must be one of the types in the list. More...
 
PSSKILL related_stat
 if it is a dual weilding based attack it willb e flagged here, that means it requires 2 weapons and each will perform part of the attack, if it is false then only one hand will execute the attack. More...
 
unsigned int weaponID
 the name of the attack type More...
 
csArray< psWeaponType * > weaponTypes
 non-zero if it requires 1 specific weapon. More...
 

Detailed Description

This struct holds data for generic attack types This could be for example an assassin attack which would require maybe daggers.

and require dual wielded daggers at that, so each dagger does part of the attack specifically. each attack type would also be based off a specic skill, such as strength or agility.

Definition at line 60 of file psattack.h.

Member Data Documentation

unsigned int psAttackType::id

Definition at line 62 of file psattack.h.

csString psAttackType::name

the id number, corresponding to its id in the database

Definition at line 63 of file psattack.h.

bool psAttackType::OneHand

if list is not empty, weapon must be one of the types in the list.

Definition at line 66 of file psattack.h.

PSSKILL psAttackType::related_stat

if it is a dual weilding based attack it willb e flagged here, that means it requires 2 weapons and each will perform part of the attack, if it is false then only one hand will execute the attack.

Definition at line 67 of file psattack.h.

unsigned int psAttackType::weaponID

the name of the attack type

Definition at line 64 of file psattack.h.

csArray<psWeaponType*> psAttackType::weaponTypes

non-zero if it requires 1 specific weapon.

Definition at line 65 of file psattack.h.


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