Planeshift
Public Attributes

psAttackType Struct Reference

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

#include <psattack.h>

List of all members.

Public Attributes

unsigned int id
csString name
 the id number, corresponding to its id in the database
bool OneHand
 if list is not empty, weapon must be one of the types in the list.
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.
unsigned int weaponID
 the name of the attack type
csArray< psWeaponType * > weaponTypes
 non-zero if it requires 1 specific weapon.

Detailed Description

This stuct 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

Definition at line 62 of file psattack.h.

the id number, corresponding to its id in the database

Definition at line 63 of file psattack.h.

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

Definition at line 66 of file psattack.h.

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.

the name of the attack type

Definition at line 64 of file psattack.h.

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: