Jump to content

Elin:Code Analysis/Combat: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 256: Line 256:
</syntaxhighlight>Spellpower is curve( ('''Spell Level''' x 8 + 50), 400, 100, 75 ) x (100 + '''Spell Enhance Enchanement''') / 100 if it's Player Character
</syntaxhighlight>Spellpower is curve( ('''Spell Level''' x 8 + 50), 400, 100, 75 ) x (100 + '''Spell Enhance Enchanement''') / 100 if it's Player Character


Spellpower is the bigger one of '''Spell Level''' x 8 + 50 or '''Char Level''' x 6 + 30 it's not Player Character
Spellpower is the larger one between '''Spell Level''' x 8 + 50 or '''Char Level''' x 6 + 30 it's not Player Character


About '''curve''' '''<code>curve(a, start, step, rate)</code> Function:'''
About '''curve''' '''<code>curve(a, start, step, rate)</code> Function:'''
28

edits