Life stealing skill
 
Notifications
Clear all

Life stealing skill

0 Posts
1 Users
0 Reactions
11 Views
0
Topic starter

Hi all!

 

I'd like to give my Bats a life-stealing skill, similar to Zubat's Life Leech, but I'm running into some problems.

 

What works:

Dealing damage (duh)

Healing self with a set amount afterwards

 

What doesn't work:

Self-healing based off the damage

 

What I have so far:

life-draining-skill-overview

A skill that targets one enemy of choice, deals damage to HP (called Life Points in my game) and sets the damage in a temp variable.

it-deals-damage-and-sets-a-var

Afterwards it recovers 10 LP

raise-lp-by-exactly-10

 

Is there a way to read a formula in script?

For example `u.lp += v[101]` to raise the user's LP by the value of variable 101?

 

P.S.: If my images seem stretched, you can right-click them and open them in a new tab or save them, there they look fine.

This topic was modified 15 hours ago by The Ramen Dutchman
Share: