![]() |
Quote:
If MoD is too heavy for maxblows, imo it should give the same percentage of attacks at the same stat breaks for everyone (modulo rounding deviations of course). 5,2/6 =~ 87% =~ 4,3/5 ~= 3,5/4 If warriors get 5,2 with stats at cap, then paladins should get 4,3 and mages 3,5, and only at maxed str/dex. |
j) the Metal Cap of Rainwe [3,+16] <+3, +1>
Found lying on the floor at 900 feet (level 18). +3 strength, intelligence. Provides resistance to acid. Cannot be harmed by acid, electricity, fire, cold. Sustains wisdom. Prevents paralysis. Radius 1 light. my first randart ever. i thought that randarts were generated at dlvl30 below. this was found in the same kind of room you would see at dlvl1.:confused: |
Quote:
|
Quote:
Code:
/* Artifact "rarity roll" */ Anyway it looks like for the One at dlvl 1 it would be 1/495 * 1/198 * 1/100 = teeny weeny bit less than 1/million. And that's *after* game has already chosen to create The One if I understand that correctly. From that code I learned that artifact have strict max depth. That means that several things stop being generated at very deep levels, some of them surprisingly early. Like Forasgil which max depth is 50 (2500'). |
Quote:
|
Quote:
If that is something like 1-100 +1 (IE. 2-101)then it's 1/100 chance and anything with rarity 1 are guaranteed to pass (which actually makes sense, Grond has rarity 1). Don't know what that randint1 actually does. |
Oh, good catch. That is strange.
|
Seems correct to me: randint1(100) = 1d100, so if 1-100 > 1 (allocation for rarest items), which happens 99 times out of 100, the item is not generated.
|
Quote:
|
Quote:
Or does that "continue" mean that it fails, which means I have understood this wrong way around? [edit]... can't be like that. It clearly makes comparison to 1d100 > alloc_prob which will never be true. Unless alloc_prob is calculated somewhere else so that it reverses the value of artifact.txt. [edit edit] Code:
/* Enforce maximum depth (strictly) */ [edit, edit, edit] This makes less and less sense to me. God, I need coffee. if item max depth is 50 and depth is 51 continue (meaning stop creation). Makes sense. if 1d100 is greater than artifact rarity 100 continue (never, so create always). Doesn't make sense. You are right, it should be small number, not high. But in artifact.txt that's other way around. |
All times are GMT +1. The time now is 23:21. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.