Difference between revisions of "Talk:Sack of spiders"
(Created page with "I found the data used to calculate each insect's chance to appear, but I can't seem to understand the picking algorithm ([https://github.com/crawl/crawl/blob/master/crawl-ref/...") |
(+ data) |
||
| Line 1: | Line 1: | ||
| − | I found the data used to calculate each insect's chance to appear, but I can't seem to understand the picking algorithm ([https://github.com/crawl/crawl/blob/master/crawl-ref/source/random-pick.h#L48]) so if anyone understands it, feel free to fill in the blanks. | + | I found the data used to calculate each insect's chance to appear, but I can't seem to understand the picking algorithm ([https://github.com/crawl/crawl/blob/master/crawl-ref/source/random-pick.h#L48]) so if anyone understands it, feel free to fill in the blanks. If anyone feels lucky, here's the data : |
| + | static const pop_entry pop_spiders[] = | ||
| + | { // Sack of Spiders | ||
| + | { 0, 13, 40, FALL, MONS_WORKER_ANT }, | ||
| + | { 0, 13, 80, FALL, MONS_SOLDIER_ANT }, | ||
| + | { 6, 19, 80, PEAK, MONS_REDBACK}, | ||
| + | { 8, 27, 90, PEAK, MONS_REDBACK }, | ||
| + | { 10, 27, 10, SEMI, MONS_ORB_SPIDER }, | ||
| + | { 12, 29, 100, PEAK, MONS_JUMPING_SPIDER }, | ||
| + | { 13, 29, 110, PEAK, MONS_TARANTELLA }, | ||
| + | { 15, 29, 120, PEAK, MONS_WOLF_SPIDER }, | ||
| + | { 21, 27, 18, RISE, MONS_GHOST_MOTH }, | ||
| + | { 0,0,0,FLAT,MONS_0 } | ||
| + | }; | ||
| + | Good Luck ! | ||
| + | -- [[User:Fingolfin|Fingolfin]] ([[User talk:Fingolfin|talk]]) 14:49, 6 June 2016 (CEST) | ||
Revision as of 13:49, 6 June 2016
I found the data used to calculate each insect's chance to appear, but I can't seem to understand the picking algorithm ([1]) so if anyone understands it, feel free to fill in the blanks. If anyone feels lucky, here's the data : static const pop_entry pop_spiders[] = { // Sack of Spiders
{ 0, 13, 40, FALL, MONS_WORKER_ANT },
{ 0, 13, 80, FALL, MONS_SOLDIER_ANT },
{ 6, 19, 80, PEAK, MONS_REDBACK},
{ 8, 27, 90, PEAK, MONS_REDBACK },
{ 10, 27, 10, SEMI, MONS_ORB_SPIDER },
{ 12, 29, 100, PEAK, MONS_JUMPING_SPIDER },
{ 13, 29, 110, PEAK, MONS_TARANTELLA },
{ 15, 29, 120, PEAK, MONS_WOLF_SPIDER },
{ 21, 27, 18, RISE, MONS_GHOST_MOTH },
{ 0,0,0,FLAT,MONS_0 }
}; Good Luck ! -- Fingolfin (talk) 14:49, 6 June 2016 (CEST)