summaryrefslogtreecommitdiff
path: root/src/effect_type.hpp
blob: 9651d44934e77a6a6a0d664c643bc9d08e9c95da (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 = 0;       /* For how long */
	s16b    dam = 0;        /* How much damage */
	s16b    type = 0;       /* Of which type */
	s16b    cy = 0;         /* Center of the cast*/
	s16b    cx = 0;         /* Center of the cast*/
	s16b    rad = 0;        /* Radius -- if needed */
	u32b    flags = 0;      /* Flags */
};