Skip to content
Permalink
507e57f869
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
32 lines (27 sloc) 437 Bytes
#include "swords.h"
sabie::sabie()
{
}
void sabie::getsabieName(int itemID, std::string& itemName)
{
if (itemID == 0)
{
itemName = "Sword Bum";
}
}
void sabie::getsabiePrices(int itemID, int& cost, int& value)
{
if (itemID == 0)
{
cost = 30;
value = 18;
}
}
void sabie::getsabieStats(int itemID, int& attackRates, int& dmg)
{
if (itemID == 0)
{
attackRating = 20;
damage = 10;
}
}