… | |
… | |
998 | case SKILL: |
998 | case SKILL: |
999 | if (!QUERY_FLAG (tmp, FLAG_APPLIED)) |
999 | if (!QUERY_FLAG (tmp, FLAG_APPLIED)) |
1000 | break; |
1000 | break; |
1001 | |
1001 | |
1002 | if (chosen_skill) |
1002 | if (chosen_skill) |
1003 | LOG (llevDebug, "fix_player, op %s has multiple skills applied\n", &name); |
1003 | LOG (llevDebug, "fix_player, op %s has multiple skills applied (%s and %s)\n", |
|
|
1004 | &name, &chosen_skill->name, &tmp->name); |
1004 | |
1005 | |
1005 | chosen_skill = tmp; |
1006 | chosen_skill = tmp; |
1006 | |
1007 | |
1007 | if (tmp->stats.dam > 0) |
1008 | if (tmp->stats.dam > 0) |
1008 | { /* skill is a 'weapon' */ |
1009 | { /* skill is a 'weapon' */ |