View Single Post
Old September 24, 2012, 02:16   #15
ekolis's Avatar
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 36
Posts: 911
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis
Originally Posted by Derakon
I mean, if you wanted to make summoned monsters be worth 0 experience, then you could stick a permanent StatMod on them that multiplied their stat reward by 0, but again, that's not the only way you could do that...
What kind of operations can a StatMod do? Just addition and multiplication? Or is it more of an "arbitrary function" sort of thing with an input and an output?

it must have a name (for sorting when two entities have the same speed)
So if you have two entities with the same speed, the one that's first alphabetically gets to go first? That just seems... wrong... Maybe just pick one at random instead?

You can think of mixins as inheriting just the functionality you want -- a mixin is an "incomplete class" that can't stand on its own.
I've heard of mixins before - I thought they were more along the lines of mixing code in several different languages to accomplish a task, though? What you describe sounds more like interfaces in C# and Java, except that (perhaps) you can combine two or more mixins to get the full functionality of a class, without actually having to inherit from said class in whatever is implementing the mixins...
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote