Jump to content

DRAGONMOUNT

A WHEEL OF TIME COMMUNITY

if (2B || !2B) { Thread.Post(this, Spam.Generate(SpamType.Any); }


Lord of 13

Recommended Posts

Posted

If you get the reference, +1 NERD POINTS TO YOU!

 

Moreover, chicken can be found in the refrigerator. Speak here of C#, C++, programming in general, and why computers and moldy meat do not mix.

Posted

C# is very similar to Java; I've dabbled in Java and C++, and I'll be taking a formal course in the latter next school year with the Digipen Institute of Technology :P

Posted

I learned C# after dabbling in C++; however, I used a C++-lite version, so... yeah.

 

EVERYONE: Do not let overt geekiness fool you. This thread is for those with too much free time.

  • 2 weeks later...
Posted

Nice! Saves me a lot of time coming up with names... 'cept for the original 5 and EarthFire. Why don't you rename those to be more appropriate?

Posted

Hey guys I have a problem with this program I'm making.  Here's the relevant code:

 

 

void truth (faction light, faction shadow){

 

    while (light.getValue() > shadow.getValue) {

          cout << "Shadow still fails..." << endl;

          shadow.setValue(shadow.getValue() + 1);

    }

 

}

 

Ok so my code looks ok to me.  Problem is truth never terminates no matter how many iterations it goes through.  Why is the Shadow so fail?

Posted

Your problem might not be in this section of code. Try changing your while to an if though.

 

Oh and Shadow NEVER FAILS!!! WE ALWAYS PREVAIL!!!! MUAHAHAHAHAHAHA!!!!!!

Posted

Ah, TMD, might I inquire as to the details of the Dore Saidin rollers, code-wise? Or should I just infer as best as I can from the page source code?

Posted

So, to summarize, there is a random roll between 0 and the elemental level. Then, repeat this process to find the greatest roll for the higher ranks. Multiply this number by the number of elements in the weave, then multiply by the weave's value. (dunno exactly what that is; TP weaves have different strengths). Finally, subtract the opponent's rolls (which have already been multiplied by the amount of elements in the weave). Am I right? After that, it's the caster's problem.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...