// mCacheVal(0), // mMod(effectType == Multiplicative ? 1 : 0), // mStackableType(stackableType), // mEffectType(effectType) public AttributeModifiersEffect(StackableType stackableType, ModifierEffectType effectType) { // assert(effectType == Multiplicative // || effectType == Additive); // assert(stackableType == Stackable // || stackableType == NonStackable // || stackableType == NonStackableBonus); // // LOG_DEBUG("Layer created with effectType " << effectType // << " and stackableType " << stackableType << "."); }
AttributeInfoType(StackableType s, ModifierEffectType effect) { stackableType=s; effectType=effect; }