maplestation_modules/code/__DEFINES/magic/attunements.dm 
| GET_RAW_ATTUNEMENT_CORRESPONDANCE | Returns the raw attunement correspondance between args 1 and 3. Its fine if both are negative, since thats a positive correspondance. The direction and intensity of the correspondance should correspond to altered casting cost - intense positive correspondance should lower casting cost by a large amount-but a weak negative correspondance should increase casting cost by a small amount. |
|---|---|
| /proc/get_total_correspondance | Compares the two lists of attunements and combines the raw correspondance. |
| /proc/get_total_attunement_mult | Returns the "mult" value using the correspondance between attunements and intensity. This value should be multiplied against the mana cost of an action to determine how much "effective" mana a certain mana source can provide to it. Should NEVER return anything negative, ever. The minimum is 0. |
| /proc/get_total_attunement_bias | attunements should only ever be attunements of a mana source, not mana user. |
Define Details
GET_RAW_ATTUNEMENT_CORRESPONDANCE 
Returns the raw attunement correspondance between args 1 and 3. Its fine if both are negative, since thats a positive correspondance. The direction and intensity of the correspondance should correspond to altered casting cost - intense positive correspondance should lower casting cost by a large amount-but a weak negative correspondance should increase casting cost by a small amount.