diff --git a/rogueviz/bringris.cpp b/rogueviz/bringris.cpp index 926572ae..2f96fa7d 100644 --- a/rogueviz/bringris.cpp +++ b/rogueviz/bringris.cpp @@ -513,6 +513,12 @@ int penalty(const vector& shape, const code_t& code) { for(auto s: shape) if(get_z(s.at) > get_z(shape[0].at)) p += 10000; + if(bflags() & HDUAL) { + if(!dists.count(shape[0].at->move(2))) + p += 40000; + if(!dists.count(shape[0].at->move(3))) + p += 20000; + } return p; }