question for advanced coders

New Member
Joined
Aug 22, 2005
Messages
105
Best answers
0
if someone shoots an attack

is it possible to capture how much ki he spend in that attack ?
i know you see the ki bar decrease, but if you want to make a plugin that shows how much ki is used for that attack, how you capture it ?

also when someone shoots a spiritbomb, and it hits a player
how is the damage calculated ?


thanks in advance
 
Freelance Mappzor
✔️ HL Verified
🚂 Steam Linked
💻 Oldtimer
Joined
Nov 21, 2003
Messages
17,065
Best answers
0
Location
Stairing at the Abyss
Spiritbomb calculates damage using the charge time, spiritbomb strength and the servers average PL.

The other attacks calculate attack strength, charge time and the players PL.

PL = powerlevel
attack strength = a number set difrently for each attack
charge time = the amount of the chargebar that is filled in %

This i only a guess but id say its:
player 1 PL * attack strength * charge time = attack

player2 PL = defense

Damage = attack / defense


Again this is only my logic of the attacks.
 

Users who are viewing this thread

Top Bottom