Yeah, and don't forget cola flavour. From past experience I now never eat anything that spells Cola as Kola. I can still taste those Kola cubes now

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote
<ring>
"Gamer's Edge"
"What's this about me owing you money!?!"
"Can I ask the same question too since I have no idea who you are?"
"You told your collection company I owe you $80!"
"Ok. I told the collection company you owe me $80."
"Why did you do that?"
"My theory would be because you owe me $80."
Quote
"Fuck you!"
"I'm sorry ma'am, you do not sexually excite me."
if (Parser.Said("wield [onyx] dagger")) maxdamage = 34;
battlearray[player.ID] -= Random(battlearray[victim].maxdamage);
battlearray[player.ID] -= battlearray[player.ID] - Random(battlearray[victim].maxdamage);
battlearray[player.ID].health -= Random(battlearray[victim].maxdamage);
battlearray[victim].health -= Random(maxdamage);
if (Parser.Said("kill monk")) {
OpponentName = cMonk.Name; //opponentname & victim are global variables.
victim = cMonk.ID;
StartFight();
}
function StartFight()
{
cinfo battlearray[150]; //cinfo is a struct and I'm combining it with an array
battlearray[victim].health = 100; //Set the opponents health at 100.
int chancetohit = Random(10); //There's a 1/5 chance of not hitting.
while (battlearray[victim].health > 0) { //While the opponent's health is more than 0 the battle carries on:
if (chancetohit < 3) { //The player misses and instead gets struck by opponent.
Add(String.Format("%s lands a cruel strike on you!", OpponentName), 15);
battlearray[player.ID].health =- Random(battlearray[victim].maxdamage); //The opponent's max damage is subtracted from the player's health. (at random)
}
else { //(chancetohit was not 1/5 so player hits)
Add(String.Format("You brutally crush %s!", OpponentName.LowerCase()), 15);
battlearray[victim].health =- Random(maxdamage); //Your maxdamage is subtracted from opponent's health (at random)
}
}
//The while loop has finished so opponent must be out of health.
Add(String.Format("Hurray! %s is dead!", OpponentName), 2, 1);
ch_status[victim] = eStatusDead; //The opponent is then declared dead.
}
function Add(String Text, int colour, int space)
int i, q;
...
while (i < Game.CharacterCount) {
c = character[i];
if (c != player && c.Room == player.Room) {
if (c.Status() == eStatusNormal) Add(String.Format("%s is here.", c.Name), 2, q);
else if (c.Status() == eStatusDead) Add(String.Format("%s is here, dead!", c.Name), 2, q);
else if (c.Status() == eStatusSleeping) Add(String.Format("%s is here, snoozing soundly.", c.Name), 2, q);
else if (c.Status() == eStatusDrunk) Add(String.Format("%s is completely drunk!", c.Name), 2, q);
} i++; }
if (i == Game.CharacterCount-1) q = 1;
if (Room. ObjectCount >= 1 && o.Visible == false && [something] == count-1) q = 1;
count++;
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.481 seconds with 17 queries.