Skip to content

Commit

Permalink
Don't enhance Dragon's Call while in Dragon form
Browse files Browse the repository at this point in the history
It's not an interaction that's especially likely to ever be very relevant.
  • Loading branch information
Chris Campbell committed Dec 18, 2014
1 parent 25bda68 commit 534a61b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
2 changes: 0 additions & 2 deletions crawl-ref/source/dat/descript/spells.txt
Expand Up @@ -483,8 +483,6 @@ This spell issues a powerful call to a draconic realm, beckoning forth dragon
after dragon to engage the summoner's enemies. The spell is taxing to maintain,
and each new dragon which answers the call will further drain the summoner's
magical reserves.

If the caster is a mighty dragon, the spell echoes more powerfully still.
%%%%
Drain Life spell

Expand Down
6 changes: 2 additions & 4 deletions crawl-ref/source/player.cc
Expand Up @@ -2555,10 +2555,8 @@ int player_armour_shield_spell_penalty()
*/
int player_wizardry(spell_type spell)
{
const int item_wiz = you.wearing(EQ_RINGS, RING_WIZARDRY)
+ you.wearing(EQ_STAFF, STAFF_WIZARDRY);
const int form_wiz = you.form == TRAN_DRAGON && spell == SPELL_DRAGON_CALL;
return item_wiz + form_wiz;
return you.wearing(EQ_RINGS, RING_WIZARDRY)
+ you.wearing(EQ_STAFF, STAFF_WIZARDRY);
}

/**
Expand Down
3 changes: 0 additions & 3 deletions crawl-ref/source/spl-cast.cc
Expand Up @@ -498,9 +498,6 @@ static int _spell_enhancement(spell_type spell)
if (you.form == TRAN_SHADOW)
enhanced -= 2;

if (you.form == TRAN_DRAGON && spell == SPELL_DRAGON_CALL)
enhanced++;

enhanced += you.archmagi();
enhanced += player_equip_unrand(UNRAND_MAJIN);

Expand Down
2 changes: 0 additions & 2 deletions crawl-ref/source/spl-util.cc
Expand Up @@ -1068,8 +1068,6 @@ static bool _spell_is_empowered(spell_type spell)
return true;
}
break;
case SPELL_DRAGON_CALL:
return you.form == TRAN_DRAGON;
default:
break;
}
Expand Down

0 comments on commit 534a61b

Please sign in to comment.