# Duane's Dungeon - a rogue-like game
# Copyright (C) 2022 Duane Robertson

# pixie.gd - a monster

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.


extends Creature


func set_species_attributes():
	species = 'pixie'
	#damage = 1
	defense = {
		magic = 0.2,
	}
	description = 'Pixies look like tiny, winged humans. Most of them are nice enough, but the tribe down here are vicious. They fight with magic.'
	dodge = 8
	icon_name = 'pixie'
	icon_fg = '337f33'
	energy_max = 14
	strength_max = 5
	size = 1
	spell_chance = {
		breathe = 7,
		chain = 5,
		ice_spear = 3,
		steal = 7,
	}

	super()