Equipment window shows equip stat changes on mouseover.
This commit is contained in:
+16
-1
@@ -545,4 +545,19 @@ void ItemInfo::InitializeSets(){
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Stats ItemInfo::GetStats(int enhancementLevel){
|
||||
if(enhancement.size()<=enhancementLevel){
|
||||
return {};
|
||||
}
|
||||
return enhancement[enhancementLevel];
|
||||
}
|
||||
|
||||
Stats Item::GetStats()const{
|
||||
return it->GetStats(enhancementLevel);
|
||||
};
|
||||
|
||||
const size_t EnhancementInfo::size()const{
|
||||
return enhancementStats.size();
|
||||
};
|
||||
Reference in New Issue
Block a user