… | |
… | |
849 | } |
849 | } |
850 | |
850 | |
851 | if (difficulty < 1) |
851 | if (difficulty < 1) |
852 | difficulty = 1; |
852 | difficulty = 1; |
853 | |
853 | |
|
|
854 | if (INVOKE_OBJECT (ADD_BONUS, op, |
|
|
855 | ARG_OBJECT (creator != op ? creator : 0), |
|
|
856 | ARG_INT (difficulty), ARG_INT (max_magic), |
|
|
857 | ARG_INT (flags))) |
|
|
858 | return; |
|
|
859 | |
854 | if (!(flags & GT_MINIMAL)) |
860 | if (!(flags & GT_MINIMAL)) |
855 | { |
861 | { |
856 | if (op->arch == crown_arch) |
862 | if (op->arch == crown_arch) |
857 | { |
863 | { |
858 | set_magic (difficulty, op, max_magic, flags); |
864 | set_magic (difficulty, op, max_magic, flags); |