- A dead character, or a monster or NPC at 0 HP, is out of the fight: the server no longer sends it to players, target marks included, and it has no turn. Healing or reviving brings it straight back. - The DM's screen leaves the fallen out too until "Show dead" is ticked, which lists them in a group of their own, marked hidden. - Players see dead characters by name in a Fallen box. The player whose character is on turn in a battle gets "Try revive" there if that character is on their feet and knows a spell that revives, at a level they can cast. The dead come back at 1 HP. - Spells have a "Revives" tick in the campaign's spell list. Revivify and Raise Dead have it, in the library and in existing campaigns. - A dead character cannot be added to an encounter until revived. - All packages at version 1.8.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
997 B
JSON
38 lines
997 B
JSON
{
|
|
"name": "backend",
|
|
"version": "1.8.0",
|
|
"private": true,
|
|
"type": "commonjs",
|
|
"main": "src/index.js",
|
|
"prisma": {
|
|
"seed": "node prisma/seed.js"
|
|
},
|
|
"scripts": {
|
|
"dev": "node --watch src/index.js",
|
|
"start": "node src/index.js",
|
|
"test": "node --experimental-vm-modules node_modules/.bin/jest",
|
|
"docs:lists": "node scripts/generate-doc-lists.js",
|
|
"prisma:migrate": "prisma migrate dev",
|
|
"prisma:generate": "prisma generate",
|
|
"prisma:seed": "prisma db seed",
|
|
"deploy": "prisma migrate deploy && prisma generate",
|
|
"seed:hollowcrown": "node prisma/seed-hollowcrown.js",
|
|
"prisma:studio": "prisma studio"
|
|
},
|
|
"dependencies": {
|
|
"@prisma/client": "^5.20.0",
|
|
"bcrypt": "^5.1.1",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.4.5",
|
|
"express": "^4.21.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"socket.io": "^4.8.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^29.7.0",
|
|
"prisma": "^5.20.0",
|
|
"supertest": "^7.0.0"
|
|
}
|
|
}
|