Steam Fort 0.5
Functions

src/combat.cpp File Reference

#include "combat.hpp"
#include "main.hpp"
#include <iostream>
#include <stdio.h>
#include "game.hpp"
#include "adventure.hpp"

Functions

void make_attack (Mobile *attacker, Mobile *defender)
 Make attack on mob.
void prepare_attack (Mobile *attacker, Mobile *defender)
 Prepare attack, check range and fight orders.
void update_combat ()
 Update combat status.

Function Documentation

void make_attack ( Mobile attacker,
Mobile defender 
)

Make attack on mob.

Parameters:
attackerAttacking mob.
defenderDefending mob.
void prepare_attack ( Mobile attacker,
Mobile defender 
)

Prepare attack, check range and fight orders.

Parameters:
attackerAttacking mob.
defenderDefending mob.
void update_combat ( )

Update combat status.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines