Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Combat formulas in Python

Name: dickpump 2010-07-22 20:52

Prototyping combat formulas in Python (v3), and I'm looking for a good way of storing a bunch of stats on different objects. Basically, i need an attacker object and a defender object, both of these will have the same types of stats (strength, dex, etc.) but used at different times.

Was thinking of using a dictionary so I can call eg EvadeRatingMagic on the object and get the correct value, but is there a better way?

Name: Anonymous 2010-07-22 21:01

You shouldn't be trying to program.

Name: Anonymous 2010-07-22 21:05

sigh

Name: Anonymous 2010-07-22 21:06

JESUS??!! IS THAT YOU??

back to /hs/ please

Name: Anonymous 2010-07-22 21:06

>>3
If you abuse your bumping privileges they will get taken away.

Name: Anonymous 2010-07-22 21:15

A class.

Name: Anonymous 2010-07-22 21:21

I want to have objects with attributes.
That's nice. Why not just do that?

Name: Anonymous 2010-07-22 21:22

>>6

thanks

Name: Anonymous 2010-07-23 4:29

>>1
*formulae

Name: Anonymous 2010-07-23 9:40

>>5
Bumping just to test you,``faggot''

Name: Anonymous 2010-07-23 9:41

>>9
formulæ

Name: Anonymous 2010-07-23 9:47

>>9
grammatically correct according to Webster
>>11
pretentious faggot spelling

Name: Anonymous 2010-07-23 9:53

>>12
Oh yes, ``American'' -- the language that insisted on removing the u from words such as colour to distance itself from Francophilia -- yet still uses words such as résumé in everyday speech.

I, too, know not of the difference between “spelling” and “grammar”, and deem it pretentious to use the correct spelling of a Latin word.

Name: Anonymous 2010-07-23 9:55

>>13
*Oh oui

Name: Anonymous 2010-07-23 10:01

>>13
Technically, just "resume" is considered acceptable spelling since not everyone has the accented 'e' mapped.

Name: Anonymous 2010-07-23 10:07

>>15
Your reasoning is incorrect for (at least!) two reasons.

Name: Anonymous 2010-07-23 10:52

>>13
You've never taken a Latin class in your life.
``Formulae'' is by no means incorrect. Replacing ae with æ wasn't uncommon (though certainly far less so in classical Latin than in, say, Church Latin), but it certainly wasn't something people did all the time.

Name: Anonymous 2011-02-03 0:25

Name: Anonymous 2013-01-19 23:41

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List