js/entities/players/floraFairy.js
/** 
     * Flora fairy: Seed of life
     */
Flora fairy: Seed of life
Flora fairy : Seed of life
onDealHealFinal(healInfo)
    {
        if(healInfo.spell.flags.hasTarget && !healInfo.spell.flags.overTime)
        {
            var healAmount = Math.ceil(healInfo.heal.total * 0.3);
            healInfo.target.parentMob.receiveBuff({
                source: this,
                buff: new game.Buff.LifeRegen({
                    time: 16.0,
                    healTotal: healAmount,
                    healGap: 2.0,
                    vitInc: 1,
                    name: "生命之种",
                }),
                popUp: true,
            });
            this.data.currentFlower.cast(this, undefined);
        }
    }
onDealHealFinal ( healInfo ) { if ( healInfo . spell . flags . hasTarget && ! healInfo . spell . flags . overTime ) { var healAmount = Math . ceil ( healInfo . heal . total * 0.3 ) ; healInfo . target . parentMob . receiveBuff ( { source : this , buff : new game . Buff . LifeRegen ( { time : 16.0 , healTotal : healAmount , healGap : 2.0 , vitInc : 1 , name : "生命之种", } ) , popUp : true , } ) ; this . data . currentFlower . cast ( this , undefined ) ; } }
Flora fairy: Seed of life
Flora fairy : Seed of life
// Only affects on spells has a target // and is not a HOT effect. // TODO: add a HOT effect to target