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

Comparing deliantra/server/common/item.C (file contents):
Revision 1.68 by root, Sun Nov 29 09:41:27 2009 UTC vs.
Revision 1.69 by root, Sat Jan 30 23:30:26 2010 UTC

843 if (op->stats.luck) 843 if (op->stats.luck)
844 buf.printf ("(luck%+d)", op->stats.luck); 844 buf.printf ("(luck%+d)", op->stats.luck);
845 } 845 }
846 846
847 /* describe attacktypes */ 847 /* describe attacktypes */
848 if (is_dragon_pl (op)) 848 if (op->is_dragon ())
849 { 849 {
850 /* for dragon players display the attacktypes from clawing skill 850 /* for dragon players display the attacktypes from clawing skill
851 * Break apart the for loop - move the comparison checking down - 851 * Break apart the for loop - move the comparison checking down -
852 * this makes it more readable. 852 * this makes it more readable.
853 */ 853 */
1152 1152
1153 buf.add_abilities ("Attacks", op->attacktype); 1153 buf.add_abilities ("Attacks", op->attacktype);
1154 /* resistance on flesh is only visible for quetzals. If 1154 /* resistance on flesh is only visible for quetzals. If
1155 * non flesh, everyone can see its resistances 1155 * non flesh, everyone can see its resistances
1156 */ 1156 */
1157 if (op->type != FLESH || (owner && is_dragon_pl (owner))) 1157 if (op->type != FLESH || (owner && owner->is_dragon ()))
1158 buf << describe_resistance (op, 0); 1158 buf << describe_resistance (op, 0);
1159 1159
1160 buf.add_paths ("Attuned", op->path_attuned); 1160 buf.add_paths ("Attuned", op->path_attuned);
1161 buf.add_paths ("Repelled", op->path_repelled); 1161 buf.add_paths ("Repelled", op->path_repelled);
1162 buf.add_paths ("Denied", op->path_denied); 1162 buf.add_paths ("Denied", op->path_denied);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines