on-activation effect for Orb of Digging in OSM

This commit is contained in:
Zeno Rogue 2020-02-26 01:41:52 +01:00
parent 98d11d7ba1
commit 8393128106
1 changed files with 8 additions and 0 deletions

View File

@ -439,6 +439,14 @@ EX namespace inv {
evokeBeautyAt(c);
}
if(it == itOrbDigging) {
forCellCM(c2, cwt.at) {
earthFloor(c2);
if(c2->wall == waCavewall && !c2->monst)
c2->wall = waNone;
}
}
if(it == itOrbSword || it == itOrbSword2) {
for(int i=0; i<numplayers(); i++)
if(multi::playerActive(i)) {