helapordo 1.4.12
Loading...
Searching...
No Matches
equips.c File Reference
#include "equips.h"
Include dependency graph for equips.c:

Functions

void applyEquipPerks (Equip *e, Fighter *f)
 Takes a Equip and a Fighter pointers.
 
void removeEquipPerks (Equip *e, Fighter *f)
 Takes a Equip and a Fighter pointers.
 

Function Documentation

◆ applyEquipPerks()

void applyEquipPerks ( Equip * e,
Fighter * f )

Takes a Equip and a Fighter pointers.

Iterates over the equip's perks and adds them to the fighter perks.

See also
Perk
Equip
Fighter
Parameters
eAn Equip pointer.
fA Fighter pointer.

◆ removeEquipPerks()

void removeEquipPerks ( Equip * e,
Fighter * f )

Takes a Equip and a Fighter pointers.

Iterates over the equip's perks and removes them to the fighter perks.

See also
Perk
Equip
Fighter
Parameters
eAn Equip pointer.
fA Fighter pointer.