Deviant Login Shop  Join deviantART for FREE Take the Tour
×

More from deviantART



Details

Submitted on
April 3, 2012
Link
Thumb

Stats

Views
46,076
Favourites
7 (who?)
Comments
54
×
Alright, trying to post code on DA turned out horribly...

Here's EBF4's Target class on Pastebin:
pastebin.com/mtZVWPdC

Check out ma takeHit function.
Add a Comment:
 
:iconjpvr-150296:
JPVR-150296 Featured By Owner Jan 14, 2013
Haven't you tried using "int()" instead of "Math.floor()" ? because I think it has the same effect but is shorter...
Reply
:iconjpvr-150296:
JPVR-150296 Featured By Owner Jan 5, 2013
Hey Matt, I was wondering, when you put stuff like "hit:DamageObject" This means you have a class with that name or is it another function?...
Reply
:iconkupogames:
KupoGames Featured By Owner Jan 5, 2013
It's a class that holds a lot of different attack parameters.
Reply
:iconthatguywithacape:
ThatGuyWithACape Featured By Owner Apr 7, 2012  Hobbyist Artist
Hah, for a second there, I thought that was python.
Reply
:iconreaplingofdie:
ReaplingofDIE Featured By Owner Apr 6, 2012
... what... WAS that?
Reply
:iconguitar-kirby:
Guitar-Kirby Featured By Owner Apr 5, 2012  Hobbyist Filmographer
Well played, sir.
Reply
:iconzegman:
ZEGMAN Featured By Owner Apr 4, 2012  Student Artist
Lol nice takeHit function
Reply
:iconmacprodukshunz:
macprodukshunz Featured By Owner Apr 4, 2012  Student General Artist
I only understood about 5% of that. lol
Reply
:iconnonamegivenatall:
nonamegivenatall Featured By Owner Apr 4, 2012
Oh Godcat, max HP based damage statuses? This can't be good... (I don't mean that as in the code itself, obviously. I mean when it coems to actually facing htem when EBF 4 is done and out.)
Reply
:iconthealmanac:
TheAlmanac Featured By Owner Apr 4, 2012  Professional General Artist
its quite readable. as much as most python programs.
Reply
Add a Comment: