An move that use hp, not mp - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11) +--- Thread: An move that use hp, not mp (/showthread.php?tid=7072) |
An move that use hp, not mp - shin hanazumi - 09-21-2011 Hi, i am newbie DCer(anyone know that's only greet) i have a problema.. i want to make a move but that move drains hp, not mp. But i can't, How? RE: An move that use hp, not mp - Ascor - 09-21-2011 I will not deliver you any code (Cause I think it's necessary to figure out coding on your own). Try making the move itself cost 0 mp but spawning a ball (at y: 5000 for example) that damages the player for the amount of hp you want to drain. The Player itself is given a body at y: 5000. I don't exactly remember if players can get hit by self-spawned balls but the alternative is creating a clone at a certain state (Basically just a frame where he spawns the ball) and then deleting that clone. Good luck with your coding. Edit: How could I forget about that? Facepalm. RE: An move that use hp, not mp - bashscrazy - 09-21-2011 use mp tag mp: 15500 uses 150 HP and 500 MP for my Krillin so I'm guessing mp: 15000 uses 150 HP (however this method only drains the light red and the dark red stays at 500 so you can heal back with state 1700 moves) RE: An move that use hp, not mp - shin hanazumi - 09-21-2011 bashscrazy Wrote:use mp tagaw, i only want to drain 50 or less.. but, thanks for the tip Ascor Wrote:I will not deliver you any code (Cause I think it's necessary to figure out coding on your own).aw, i don't really understand XP, but thanks for the tip, i will learn it RE: An move that use hp, not mp - bashscrazy - 09-21-2011 then just change the values .................... RE: An move that use hp, not mp - shin hanazumi - 09-21-2011 (09-21-2011, 01:54 PM)bashscrazy Wrote: then just change the values ....................if i change into mp: 205 for drain 25 hp, it will cost 205 mp not 25 hp RE: An move that use hp, not mp - bashscrazy - 09-21-2011 (09-21-2011, 02:04 PM)shin hanazumi Wrote:(09-21-2011, 01:54 PM)bashscrazy Wrote: then just change the values ....................if i change into mp: 205 for drain 25 hp, it will cost 205 mp not 25 hp learn math pl0x. mp: 15000 uses 150 hp so why would 205 use 25 hp? |