1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
#include "Enemy.h"
void Enemy::setStats(int a, int b, int c, int d, int e, int f, int g, const MapFunctions& MapObject)
{
atk = a+(MapObject.getLevel()/enemyAttackModifier);
def = b+(MapObject.getLevel()/enemyDefenceModifier);
mag = c+(MapObject.getLevel()/enemyMagicModifier);
heal = d+(MapObject.getLevel()/enemyHealthModifier);
maxheal = e+(MapObject.getLevel()/enemyMaximumHealthModifier);
mon = f+(MapObject.getLevel()/enemyMoneyModifier);
speed = g+(MapObject.getLevel()/enemyMoneyModifier);
}
void Goblin::attack()
{
cout << "'Glab ook agkh!' The Goblin stabs you with his dagger.";
}
void Orc::attack()
{
cout << "'Orc smash!' The orc attempts to crush you with his club.";
}
void Bat::attack()
{
cout << "The bat bites you. Ouch!";
}
void Spirit::attack()
{
cout << "The spirit turns purple and you feel weaker. The spirit then becomes almost clear again.";
}
void Skeleton::attack()
{
cout << "The skelenton uses his best attack: 'The boner'!";
}
void DarkKnight::attack()
{
cout << "The dark knight lunges his sword through your chest.";
}
void CarnivorousHorse::attack()
{
cout << "'Neigh, Whinny'... the horse kicks you in the face. He will only eat you when you're dead.";
}
void STDMonster::attack()
{
cout << "Removes your clothes and gives you a 'good time' (until you realise that this was purposely done to give you syphilis).";
}
void InsectSwarm::attack()
{
cout << "The swarm of insects bite and sting you. Ouch! You are now red.";
}
void Dog::attack()
{
cout << "'Woof, woof! Grrrr!' The dog bites you!";
}
void MrGappube::attack()
{
cout << "As he is wearing his special glasses that make you look like a constipated penguin, he fucks you so hard that it's untrue. The repetitive banging motion is of such great strength (amazing for a 'man' with a two inch willy when erect), that damage is caused.";
}
void FootballMonster::attack()
{
cout << "He looks in his porn magazine (We Love Footballers Who Cheat On Their Wife Mag) and masturbates. Some of his jizz lands on you and, as it contains assorted strong acids, you suffer acid burns and other acid related damage.";
}
void DemonStripOGram::attack()
{
cout << "The demonic strip-o-gram begins to remove it's clothes in front of you. The demon's willy is then revealed and, as it doesn't ever wash 'down below', it reeks terribly. The noxious stench of his smelly willy smells so bad that it causes you to be violently sick, to the extent that internal damage is caused.";
}
|