Skip to content

Commit

Permalink
Adds the unrand axe Frostbite, a +8 exec axe of freezing clouds
Browse files Browse the repository at this point in the history
the +8 frozen axe "Frostbite" {freezing cloud, *Noise +Fly rC+}. Base type is
executioner's axe. Has a 20% chance of leaving a short-lived (3-5 turns)
freezing cloud on a monster on a successful hit. Has blizzard-and-ice themed
noises. Comes with two terrible placeholder tiles.
  • Loading branch information
nicolae authored and wheals committed Nov 26, 2015
1 parent 7118601 commit b13830c
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 0 deletions.
12 changes: 12 additions & 0 deletions crawl-ref/source/art-data.txt
Expand Up @@ -1251,6 +1251,18 @@ TILE_EQ: kryias
INSCRIP: DeviceHeal*2
COLD: 1

ENUM: FROSTBITE
NAME: frozen axe "Frostbite"
OBJ: OBJ_WEAPONS/WPN_EXECUTIONERS_AXE
INSCRIP: freezing cloud,
PLUS: +8
COLOUR: ETC_ICE
TILE: urand_frostbite
TILE_EQ: frostbite
BRAND: SPWPN_FREEZING
COLD: 1
BOOL: skip_ego, fly, noises

# This entry must always be last.
ENUM: DUMMY2
NAME: DUMMY UNRANDART 2
Expand Down
15 changes: 15 additions & 0 deletions crawl-ref/source/art-func.h
Expand Up @@ -1378,6 +1378,21 @@ static void _KRYIAS_unequip(item_def *item, bool *show_msgs)

///////////////////////////////////////////////////

static void _FROSTBITE_melee_effects(item_def* weapon, actor* attacker,
actor* defender, bool mondied, int dam)
{
coord_def spot = defender->pos();
if (!mondied
&& !cell_is_solid(spot)
&& env.cgrid(spot) == EMPTY_CLOUD
&& one_chance_in(5))
{
place_cloud(CLOUD_COLD, spot, random_range(3, 5), attacker, 0);
}
}

///////////////////////////////////////////////////

// Vampiric effect triggers on every hit, see attack::apply_damage_brand()

static void _LEECH_equip(item_def *item, bool *show_msgs, bool unmeld)
Expand Down
23 changes: 23 additions & 0 deletions crawl-ref/source/dat/database/wpnnoise.txt
Expand Up @@ -10,6 +10,7 @@

# Contents:
# - Shield of the Gong
# - Frostbite
# - Noisy randarts
# - The Singing Sword

Expand Down Expand Up @@ -38,6 +39,28 @@ BONNNG!
# scraping hit
SHROANNG!

###############################################################################
###############################################################################
#
# The FROZEN AXE "FROSTBITE" imitates loud noises from cold environments.
#
###############################################################################
###############################################################################

%%%%
frozen axe "frostbite"

You hear the [roaring|howling|raging|gusting] winds of a [blizzard|squall|snowstorm].

w:5
You hear ice [creaking|groaning|grinding|cracking].

w:1
You hear shards of ice [tinkling|chiming].

w:1
You hear the [rumble|boom|crash] of [a glacier calving|icebergs colliding].

###############################################################################
###############################################################################
#
Expand Down
5 changes: 5 additions & 0 deletions crawl-ref/source/dat/descript/unrand.txt
Expand Up @@ -613,3 +613,8 @@ that kept her alive.
The wearer of this garment will have significantly increased healing from
devices.
%%%%
frozen axe "Frostbite"

This massive axe looks like it was carved from a glacier, or possibly calved
from one. It leaves ice crystals in its wake as it swings through the air.
%%%%
1 change: 1 addition & 0 deletions crawl-ref/source/rltiles/dc-player.txt
Expand Up @@ -542,6 +542,7 @@ axe_trog AXE_TROG
arga ARGA
demon_axe DEMON_AXE
axe_of_woe AXE_OF_WOE
frostbite FROSTBITE
## launchers
blowgun_assassin BLOWGUN_ASSASSIN
punk PUNK
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b13830c

Please sign in to comment.