#include "WeaponObject.h" void WeaponObject::set_damage_min(int damage_min) { this->damage_min = damage_min; } void WeaponObject::set_damage_max(int damage_max) { this->damage_max = damage_max; } const String & WeaponObject::get_displayname() const { static String display = String::fmt("%s (%d - %d schade)", this->get_name().c_str(), this->damage_min, this->damage_max); return display; }