本文整理汇总了C++中Armor::nextdef方法的典型用法代码示例。如果您正苦于以下问题:C++ Armor::nextdef方法的具体用法?C++ Armor::nextdef怎么用?C++ Armor::nextdef使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Armor
的用法示例。
在下文中一共展示了Armor::nextdef方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: read
void CArmor::read(const Armor& armor)
{
this->armorType = armor.armortype();
this->baseHp = armor.basehp();
this->baseDef = armor.basedef();
this->baseAtk = armor.baseatk();
this->strenLv = armor.strenlv();
// this->baptize = armor.baptize();
this->addHp = armor.addhp();
this->addDef = armor.adddef();
this->addAtk = armor.addatk();
this->hero = armor.hero();
// for (int i = 0; i < armor.attr_size(); i++)
// {
// const ExtAttr& attr = armor.attr(i);
// CExtAttr ext;
// ext.read(attr);
// this->attrList.push_back(ext);
// }
this->baseDex = armor.basedex();
this->baseHit = armor.basehit();
this->baseCrit = armor.basecrit();
this->baseRenew = armor.baserenew();
this->baseDodge = armor.basedodge();
this->addDex = armor.adddex();
this->addHit = armor.addhit();
this->addCrit = armor.addcrit();
this->addRenew = armor.addrenew();
this->addDodge = armor.adddodge();
this->atkRange = armor.atkrange();
this->hpRange = armor.hprange();
this->defRange = armor.defrange();
this->IntRange = armor.dexrange();
this->hitRange = armor.hitrange();
this->critRange = armor.critrange();
this->renewRange = armor.renewrange();
this->dodgeRange = armor.dodgerange();
this->nextAtk = armor.nextatk();
this->nextHp = armor.nexthp();
this->nextDef = armor.nextdef();
this->nextDex = armor.nextdex();
this->nextHit = armor.nexthit();
this->nextCrit = armor.nextcrit();
this->nextRenew = armor.nextrenew();
this->nextDodge = armor.nextdodge();
this->combat = armor.combat();
this->armor_skill = armor.armor_skill();
}