• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ Utamo vita absolving only part of the damage

Joined
Apr 11, 2015
Messages
102
Reaction score
6
0.4
Hello guys, I'm here trying to do something with utamo vita. In my head, it would be more dynamical if the spell only absorb some part of the damage, not all the damage. In other words: If a monster (or other players) hit the dude with utamo vita and 100% is the damage, so what I want is something like 30% life and 70% mana of the total 100%, so if the monster hits 100, the player would loose 30 of his health and them 70 of his mana, and if his mana is 0 or below the 70% of the damage, so it will hit 100% from his health
I Know this may be hard, but I got a little close using creaturescript with storage, and using dodge system
Thank you.
 
Back
Top