Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

RyokuHasu

Members
  • Posts

    1938
  • Joined

  • Last visited

    Never

Posts posted by RyokuHasu

  1. For those Doing complex scaling Remember to round when multiplying by decimals or dividing
    Example:

    > Vital = Spell(spellnum).Vital
    >     Vital = **Round(**(Vital * 0.5)**)** * **Round(**(Player(index).Level * 1.14)**)** * **Round(**(Stats.Intelligence + (Stats.Willpower / 2))**)** 
    >
    >   If Spell(spellnum).Type = SPELL_TYPE_HEALHP Then
    >     Vital = Vital + **Round(**(GetPlayerStat(index, Stats.Willpower) * 0.3)**)**
    >   End If
    >    
    >     If Spell(spellnum).Type = SPELL_TYPE_DAMAGEHP Then
    >     Vital = Vital + **Round(**(GetPlayerStat(index, Stats.Intelligence) * 0.3)**)**
    >   End If
  2. Here is My personal Scaling equation =D

    ```
    Vital = (Vital * 0.6) * (Player(index).Level * 1.14) * Round((Stats.Intelligence + (Stats.Willpower / 2)))

    ```
    Any one like it? =o
  3. Required Previous tutorials
    # 1
    http://www.touchofdeathforums.com/smf/index.php/topic,68426.0.html
    #2
    http://www.touchofdeathforums.com/smf/index.php/topic,69062.0.html

    Um… I know this is OVERLY simple but some people might not know... =X this is for them

    SERVER

    In ModQuest Find
    ```
    Dim questnum, reward, rewardamount As Long

    ```
    ADD

    ```
    Dim exp As Long

    ```Under it

    Now in any of your quests that you want to give EXP find
    ```
    'set reward amount
    rewardamount = #

    ```
    ADD

    ```

    'set EXP Reward
    exp = 100

    ```
    Under it

    In the same quest Find
    ```

    Call QuestFinish(attacker, finmsg, Script)
    ```
    ADD
    ```
    Call GivePlayerEXP(attacker, exp)

    ```Above it

    This will work for any quest you have of any type

    =D hope this helps at least one person
  4. When ever i edit the "frmserver.frm"(in the server src)  file and save it the changes don't show up the next time i load the server. How do apply tose changes?

    I am doing simple changes like changing the caption just to sest if it works, but its not.
×
×
  • Create New...