Move Wand of Pyhrrus spell into main combat cast routine.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user