Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion contracts/Aavegotchi/facets/DAOFacet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {LibERC1155} from "../../shared/libraries/LibERC1155.sol";
import {LibItems} from "../libraries/LibItems.sol";
import {LibSvg} from "../libraries/LibSvg.sol";
import {LibMeta} from "../../shared/libraries/LibMeta.sol";
import {LibXPAllocation} from "../libraries/LibXPAllocation.sol";
import {GameManager} from "../libraries/LibAppStorage.sol";
import "../WearableDiamond/interfaces/IEventHandlerFacet.sol";

Expand Down Expand Up @@ -267,7 +268,7 @@ contract DAOFacet is Modifiers {
s.aavegotchis[tokenId].experience += xp;
gameManager.balance -= xp;
}
emit GrantExperience(_tokenIds, _xpValues);
emit LibXPAllocation.GrantExperience(_tokenIds, _xpValues);
}

///@notice Allow the DAO, a game manager or the aavegotchi diamond owner to remove XP(experience points) from multiple aavegotchis
Expand Down