Merge pull request #163 from jruderman/ranged_beauty

The Orb of Beauty now lifts rose-scent restrictions on targeting of ranged orbs
This commit is contained in:
Zeno Rogue 2021-06-28 20:54:31 +02:00 committed by GitHub
commit 0a8f284b20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1246,7 +1246,7 @@ EX eItem targetRangedOrb(cell *c, orbAction a) {
if(rosedist(cwt.at) == 1) {
int r = rosemap[cwt.at];
int r2 = rosemap[c];
if(r2 <= r) {
if(r2 <= r && !markOrb(itOrbBeauty)) {
if(a == roKeyboard || a == roMouseForce )
addMessage(XLAT("Those roses smell too nicely. You can only target cells closer to them!"));
return itNone;