YEP_SkillCore

● ARCHIVED · READ-ONLY
Started by Eliaquim 1 posts View original ↗
  1. Hi people!

    I was cheking this plugin, and i have an idea:

    How can i do to store the damage done with a skill t, i will give exp with the value of the damage for the user.
    I want to give 2 exp per damage.
    So if 3 damage = 6 exp.

    I saw this in the plugin, that i can add effects in the notetag:

    Description
    "<Post-Damage Eval>
    * code
    * code
    </Post-Damage Eval>"

    Those using the <Pre-Damage Eval> and <Post-Damage Eval> are able to make
    * use of the damage to be dealt and the damage that has been dealt through
    * the 'value' variable. The <Pre-Damage Eval> notetag is capable of altering
    * the 'value' variable and return it to have damage affected by its code.

    So maybe a can put a code inside de post-damage eval, to give the player the exp for the damage dealt?