summaryrefslogtreecommitdiff
path: root/src/effect_type.hpp
blob: 8cd638c6e11f8a397e59ff9a8461bb6a3f5e48db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "h-basic.h"

/**
 * Lasting spell effects. (Clouds, etc.)
 */
struct effect_type
{
	s16b    time;           /* For how long */
	s16b    dam;            /* How much damage */
	s16b    type;           /* Of which type */
	s16b    cy;             /* Center of the cast*/
	s16b    cx;             /* Center of the cast*/
	s16b    rad;            /* Radius -- if needed */
	u32b    flags;          /* Flags */
};