[b34] Displace/creeping dark
Moderator: Moderator
[b34] Displace/creeping dark
May be intended, but Displace cannot pass through creeping dark, as it blocks line of sight.
Re: [b34] Displace/creeping dark
Displace Damage?
I think that's a viable tactic. I mean Creeping Dark doesn't do much else does it?
It's not intended, the intention is that you can't Displace Damage through walls and kill monsters in vaults by hitting yourself in the face while spamming a regen infusion
I think that's a viable tactic. I mean Creeping Dark doesn't do much else does it?
It's not intended, the intention is that you can't Displace Damage through walls and kill monsters in vaults by hitting yourself in the face while spamming a regen infusion

Re: [b34] Displace/creeping dark
Displace is the instant-cast, line-of-sight, short-range teleport that Doomed can get.
Sorry about all the parentheses (sometimes I like to clarify things).
Re: [b34] Displace/creeping dark
Hmm, I don't know what's intended, but I should be able to shed some light on why it's working this way.
If the player has DarkVision and the target tile is only blocked by Creeping Dark, then "hasLOS(x,y)" would be true. However, Displace (in cursed/primal-magic) doesn't call "hasLOS". Instead, it requires that the player "has_knowledge" of the tile, which in this case is only true if the tile is naturally lit and has been seen. In a dark zone, the player will never be able to case Displace through Creeping Dark.
So, to allow Displace through CreepingDark if the player has DarkVision, remove the target parameter "requires_knowledge=true" and perform a call to hasLOS(x,y) to check for validity.
If the player has DarkVision and the target tile is only blocked by Creeping Dark, then "hasLOS(x,y)" would be true. However, Displace (in cursed/primal-magic) doesn't call "hasLOS". Instead, it requires that the player "has_knowledge" of the tile, which in this case is only true if the tile is naturally lit and has been seen. In a dark zone, the player will never be able to case Displace through Creeping Dark.
So, to allow Displace through CreepingDark if the player has DarkVision, remove the target parameter "requires_knowledge=true" and perform a call to hasLOS(x,y) to check for validity.