#include "Spell.hpp"
|
|
|
|
Spell::Spell(std::string n, int t, int a, int c)
|
|
{
|
|
this->name = std::string(n);
|
|
this->type = t;
|
|
this->amount = a;
|
|
this->cost = c;
|
|
}
|
|
|
|
int Spell::getType()
|
|
{
|
|
return this->type;
|
|
}
|
|
|
|
int Spell::getAmount()
|
|
{
|
|
return this->amount;
|
|
}
|
|
|
|
int Spell::getCost()
|
|
{
|
|
return this->cost;
|
|
}
|
|
|
|
std::string Spell::getName()
|
|
{
|
|
return this->name;
|
|
}
|
|
|
|
std::vector<Spell *> Spell::Book = {
|
|
new Spell("Napalm Beat", 1, 4, 1),
|
|
new Spell("Fire Ball", 1, 6, 2),
|
|
new Spell("Cold Bolt", 1, 8, 3),
|
|
new Spell("Stone curse", 1, 10, 4),
|
|
new Spell("Lightning Bolt", 1, 12, 5),
|
|
new Spell("Soul Strike", 1, 14, 6),
|
|
new Spell("Fire Wall", 1, 16, 7),
|
|
new Spell("Frost Diver", 1, 18, 8),
|
|
new Spell("Lighting Storm", 1, 20, 9),
|
|
new Spell("Asura's Strike", 1, 50, 10),
|
|
};
|