# Duane's Dungeon - a rogue-like game # Copyright (C) 2023 Duane Robertson # ghost.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 . extends Creature func set_species_attributes(): species = 'ghost' defense = { freeze = 0, ice_spear = 0, weapon = 0.2, } description = 'This is not a friendly ghost. It wants to freeze your soul.' energy_max = 16 icon_name = 'ghost' icon_fg = 'cccccc' strength_max = 10 # 22 originally spell_chance = { drain = 3 } unliving = true super()