aboutsummaryrefslogtreecommitdiff
path: root/backend/ElixirConsumableObject.cpp
blob: 145e74a30f25fa755a2cbc7e51c785dc2c1af5c7 (plain)
1
2
3
4
5
6
7
8
#include "Player.h"
#include "RNG.h"
#include "ElixirConsumableObject.h"

void ElixirConsumableObject::consume(Player & player) {
	player.add_health(RNG::get().rand_int(this->get_potency()));
}