Started work on character log for rolls to be stored
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import spendResources from '/imports/api/creature/actions/spendResources.js'
|
||||
import {insertCreatureLog} from '/imports/api/creature/log/CreatureLogs.js';
|
||||
|
||||
export default function applyAction({prop}){
|
||||
export default function applyAction({prop, creature}){
|
||||
spendResources(prop);
|
||||
insertCreatureLog({
|
||||
log: prop.name,
|
||||
creature,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user