From 75520f4dc2b7989fad3676fd5f68e9f6baf586fe Mon Sep 17 00:00:00 2001 From: b3brodie Date: Fri, 17 Jan 2025 16:35:40 -0800 Subject: [PATCH] documentation --- doc/MAGIC.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/MAGIC.md b/doc/MAGIC.md index 77e22b41abb57..2d6e470a767eb 100644 --- a/doc/MAGIC.md +++ b/doc/MAGIC.md @@ -670,6 +670,12 @@ Magic Type Example: "get_level_formula_id": "magic_test_func_get_level", "exp_for_level_formula_id": "magic_test_func_exp_for_level", "cannot_cast_flags": "NO_SPELLCASTING", + "cannot_cast_message": "you cannot cast test spells!", + "casting_xp_formula_id": "magic_test_xp_formula", // id of a jmath func that determines how much xp is gained by successful casts. + "max_book_level": 0, // associated spells can not be leveled by reading books, scrolls, etc above this level. + "failure_cost_percent": 1, // decimal value that decides how much energy is consumed by spells when they fail to cast. Defaults to 0. + "failure_exp_percent": 1, // decimal value that decides how much exp is gained when spells fail to cast compared to normal. Defaults to 0.2 . + "failure_eocs": "EOC_random_mutate" // EOC cast by the player if the spell fails to cast. }, { "id": "test_spell",