GetDelay sets min to 6.0 - del * 0.75 and max to 6.0 - del * 1.25, so for any Magery above zero min is the larger value. The draw min + (max - min) * r still covers the right interval, but it runs downward and the names say the opposite. Swap the two definitions so min is the lower bound. The interval and its uniform distribution do not change; for a given random draw the delay comes out mirrored. |
||
|---|---|---|
| .. | ||
| BaseAI | ||
| AIControlMobileTarget.cs | ||
| AnimalAI.cs | ||
| ArcherAI.cs | ||
| BerserkAI.cs | ||
| FamiliarAI.cs | ||
| HealerAI.cs | ||
| MageAI.cs | ||
| MeleeAI.cs | ||
| OppositionGroup.cs | ||
| PredatorAI.cs | ||
| ThiefAI.cs | ||
| VendorAI.cs | ||