bees from trees

<email deleted> wrote in the newsgroup:
> "You've attracted the tree's former occupants!"
> (nothing happens)
>
> Yes, it's _zero_ to four bees, depending on your luck.  I think it's meant
> to be one to five, though.
>
This commit is contained in:
nethack.allison
2002-08-30 02:55:21 +00:00
parent 510ae5b5f2
commit eb2503deac
2 changed files with 2 additions and 1 deletions

View File

@@ -226,6 +226,7 @@ contribution by Adam Wozniak adds several const & changes some char* to char[]
fix impossible when hitting/jousting a monster causes it to be killed twice
fix a GOLDOBJ crash/hang in take_gold() that could be triggered by reading a
cursed spellbook, or by sitting on a throne
kicking a tree could produce 0 to 4 killer bees but it should have been 1 to 5
Platform- and/or Interface-Specific Fixes

View File

@@ -880,7 +880,7 @@ dokick()
maploc->looted |= TREE_LOOTED;
return(1);
} else if (!rn2(15) && !(maploc->looted & TREE_SWARM)){
int cnt = rnl(5);
int cnt = rnl(5) + 1;
coord mm;
mm.x = x; mm.y = y;
pline("You've attracted the tree's former occupants!");