Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ff3:ff3us:doc:asm:algo:basic [2016/03/08 03:47] madsiur [Damage Calculation] |
ff3:ff3us:doc:asm:algo:basic [2019/03/25 14:30] (current) jvh147 Monster formations |
||
---|---|---|---|
Line 11: | Line 11: | ||
==== Damage Calculation ==== | ==== Damage Calculation ==== | ||
- | Thia algorithm has its [[ff3: | + | This algorithm has its [[ff3: |
==== Hit Determination ==== | ==== Hit Determination ==== | ||
+ | This algorithm has its [[ff3: | ||
==== Random encounters ==== | ==== Random encounters ==== | ||
+ | counter is a value from 0 to 65535 (?)\\ | ||
+ | random is a random value from 0 to 255 | ||
+ | |||
+ | < | ||
+ | Each step: | ||
+ | if on overwolrd map: counter = counter + 192; | ||
+ | if on dungeon map: counter = counter + 112; | ||
+ | get new random; | ||
+ | | ||
+ | if random < (counter / 256) | ||
+ | fight occurs; | ||
+ | counter = 0; | ||
+ | </ | ||
+ | |||
+ | Note: The moogle charm makes the counter value not increasing. | ||
+ | |||
+ | ==== Random monster formations ==== | ||
+ | This algorithm has its [[ff3: | ||
==== Averaging levels ==== | ==== Averaging levels ==== |