[EO] Spell Vitals

I want to slip in an equation so a spell’s vital is:

Vital Scroll Value * ([insert equation here])

That way the spells get stronger as the player levels up.

First off I want to ask can this be done as easily as I think it can?

Second, I think I found the place that I would insert the equation but I’m not 100% on it.

Private Sub scrlVital_Change()
    lblVital.Caption = "Vital: " & scrlVital.Value
    Spell(EditorIndex).Vital = scrlVital.Value
End Sub

Do I place it there or do I have the wrong sub?


Server-side mate.

Right here?

    ' set the vital
    Vital = Spell(spellnum).Vital
Log in to reply