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

#include "h-basic.hpp"

/**
 * 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 */
};