ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/spell_effect.C
(Generate patch)

Comparing deliantra/server/server/spell_effect.C (file contents):
Revision 1.68 by root, Thu Aug 23 17:13:04 2007 UTC vs.
Revision 1.69 by root, Thu Aug 23 17:17:41 2007 UTC

606 606
607 if (is_dragon_pl (op)) 607 if (is_dragon_pl (op))
608 /* now grab the 'dragon_ability'-force from the player's inventory */ 608 /* now grab the 'dragon_ability'-force from the player's inventory */
609 for (tmp = op->inv; tmp; tmp = tmp->below) 609 for (tmp = op->inv; tmp; tmp = tmp->below)
610 { 610 {
611 if (tmp->type == FORCE && !strcmp (tmp->arch->archname, "dragon_ability_force")) 611 if (tmp->type == FORCE && tmp->arch->archname == shstr_dragon_ability_force)
612 { 612 {
613 if (tmp->stats.exp == 0) 613 if (tmp->stats.exp == 0)
614 buf << "Your metabolism isn't focused on anything.\n"; 614 buf << "Your metabolism isn't focused on anything.\n";
615 else 615 else
616 buf << "Your metabolism is focused on " << change_resist_msg[tmp->stats.exp] << ".\n"; 616 buf << "Your metabolism is focused on " << change_resist_msg[tmp->stats.exp] << ".\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines