Added CM.Disp.AddAuraInfo()

This commit is contained in:
Daniel van Noord
2020-12-10 22:30:07 +01:00
parent f9c4f68bb8
commit 8ffc0a2664
3 changed files with 36 additions and 12 deletions

View File

@@ -63,11 +63,11 @@ CM.ReplaceNative = function() {
/**
* This functions adds the function CM.Disp.AddAuraInfo() to Game.DescribeDragonAura()
* This adds information about CPS differences and costs to the aura choosing interface
* @param {number} aura The number of the aura current selected by the mouse/user
* @param {number} aura The number of the aura currently selected by the mouse/user
*/
Game.DescribeDragonAura = function(aura) {
CM.Backup.DescribeDragonAura(aura);
CM.Disp.AddAuraInfo();
CM.Disp.AddAuraInfo(aura);
}
CM.Backup.UpdateMenu = Game.UpdateMenu;