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-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.

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