Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with take dmg #37

Open
jopistok opened this issue Aug 19, 2023 · 2 comments
Open

issue with take dmg #37

jopistok opened this issue Aug 19, 2023 · 2 comments

Comments

@jopistok
Copy link

[03:22:10] [Server thread/ERROR]: [puffish_skills] Configuration could not be loaded:
Could not read file experience.json.

experience.json

{
"enabled": true,
"experience_per_level": {
"type": "values",
"data": {
"values": [
100,
125,
150,
175,
200,
225,
250,
275,
300,
325,
350,
375,
400,
425,
450,
475,
500,
525,
550,
575,
600,
625,
650,
675,
700,
725
]
}
},
"sources": [
{
"type": "puffish_skills:take_damage",
"data": {
"parameters": {
"damage": {
"type": "minecraft:damage",
}
},
"experience": [
{
"expression": "damage * 0.25"
}
]
}
}
]
}

I just copied code from page about take_damage, and it doesn't work. I can't figure out, where is mistake.

@jopistok
Copy link
Author

vesion mc: 1.18.2 fabric

@pufmat
Copy link
Owner

pufmat commented Aug 24, 2023

Are you sure you copied it correctly? Instead of "type": "minecraft:damage" it should be "type": "damage", also make sure to remove trailing comma on this line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants