diff --git a/osx/boe.combat.cpp b/osx/boe.combat.cpp index 3bbedad05..315e03f21 100644 --- a/osx/boe.combat.cpp +++ b/osx/boe.combat.cpp @@ -3926,15 +3926,6 @@ static void place_spell_pattern(effect_pat_type pat,location center,unsigned sho } } } -void handle_item_spell(location loc,short num) { - // TODO: This function is currently unused - switch(num) { - case 82: // Pyhrrus - place_spell_pattern(rad2,loc,WALL_BLADES,6); - break; - } - -} void place_spell_pattern(effect_pat_type pat,location center,short who_hit) { place_spell_pattern(pat, center, FIELD_NONE, who_hit); @@ -4436,6 +4427,9 @@ bool combat_cast_mage_spell() { } break; + case eSpell::BLADE_AURA: // Pyhrrus effect + place_spell_pattern(rad2,univ.party[current_pc].combat_pos,WALL_BLADES,6); + break; } } diff --git a/osx/boe.combat.h b/osx/boe.combat.h index 81392fc31..a3381f498 100644 --- a/osx/boe.combat.h +++ b/osx/boe.combat.h @@ -38,7 +38,6 @@ void fireball_space(location loc,short dam); void place_spell_pattern(effect_pat_type pat,location center,short who_hit); void place_spell_pattern(effect_pat_type pat,location center,eFieldType type,short who_hit); void place_spell_pattern(effect_pat_type pat,location center,eDamageType type, short dice,short who_hit); -void handle_item_spell(location loc,short num); void modify_pattern(effect_pat_type *pat,unsigned short type); void do_shockwave(location target); void radius_damage(location target,short radius, short dam, eDamageType type); diff --git a/osx/classes/simpletypes.h b/osx/classes/simpletypes.h index 30450e1b5..d0ca1b096 100644 --- a/osx/classes/simpletypes.h +++ b/osx/classes/simpletypes.h @@ -898,6 +898,7 @@ enum class eSpell { PARALYZE_BEAM = 69, SLEEP_MASS = 70, RAVAGE_ENEMIES = 71, + BLADE_AURA = 82, // Priest spells BLESS_MINOR = 100, HEAL_MINOR = 101,