Commit graph

186 commits

Author SHA1 Message Date
Enno Rehling
48fd0bd4af paused factions do not execute orders, do not join battles.
lots of change, didn't write any tests for this yet.
2021-06-08 19:13:26 +02:00
Enno Rehling
13a4388b9c Merge branch 'master' into develop 2021-05-01 22:03:31 +02:00
Enno Rehling
ff7cd7d20d check for dead curse-magician 2021-05-01 21:53:01 +02:00
Enno Rehling
557f5458ea don't cast level 0 combat spells 2021-04-21 18:05:40 +02:00
Enno Rehling
adc03b75bc move skill.h to kernel, use enum in struct skill 2021-04-09 21:52:50 +02:00
Enno Rehling
e3f2ca9aaf catch attempts to cast a spell without the magic skill 2021-04-09 21:30:26 +02:00
Enno Rehling
250c098bf6 https://bugs.eressea.de/view.php?id=2737
finalize spell cost bugfix.
fix familiar spellcost calculation tests.
remove debug names from tests.
2021-04-08 21:25:37 +02:00
Enno Rehling
c8e975333b WIP bug 2737
fix cost of spells with ring of power.
test and fix cost and limits of familiars casting spells.
2021-04-08 21:25:37 +02:00
Enno Rehling
5564543bfd fix gcc build 2021-04-05 19:40:22 +02:00
Enno Rehling
4d8a3d1947 https://bugs.eressea.de/view.php?id=2737
using a ring does not increase the spell's cost
adding tests for spell effectiveness revealed many inconsistencies that are now fixed.
2021-04-05 19:19:49 +02:00
Enno Rehling
58c310de29 a working stone circle boosts magic resistance of people inside. 2021-03-27 19:12:12 +01:00
Enno Rehling
721442584c testing for magic resistance curses. 2021-03-27 18:56:17 +01:00
Enno Rehling
9a9a9c7a5d https://bugs.eressea.de/view.php?id=2733
add tests for magic resistance formula.
2021-03-27 00:01:44 +01:00
Enno Rehling
8ba80d7dbf https://bugs.eressea.de/view.php?id=2733
magicians resisting their own spells.
2021-03-26 19:56:32 +01:00
Enno Rehling
e0e82c5fa5 fix MSVC warning levels, move _CRT_SECURE_NO_WARNINGS define to sources 2021-02-20 23:22:10 +01:00
Enno Rehling
cc5e062b68 https://bugs.eressea.de/view.php?id=2724
Magieresistenz reparieren.
2021-02-16 10:12:04 +01:00
Enno Rehling
712e1c3052 FOLGE SCHIFF repariert.
https://bugs.eressea.de/view.php?id=2698
FOLGE generell verbessert, so daß man mehrere FOLGE Befehle setzen kann.
Bugfix: findship findet auch "leere" Schiffe, der Caller muss jetzt auf sh->number testen.
Schiffe und Burgen können ab sofort die selben IDs benutzen.
Befehlsreihenfolge: FOLGE erst nach VERLASSE/GIB
2020-09-03 21:42:38 +02:00
Enno Rehling
d4400bb583 remove deprecated init_order_depr 2020-08-16 16:00:30 +02:00
Enno Rehling
2e44e2dd09 eliminate deprecated function. 2020-08-16 16:00:30 +02:00
Enno Rehling
e80701ef35 Allow alternative names for some spells. 2020-08-16 16:00:28 +02:00
Enno Rehling
f02c4cbaeb disable magic resistant to prevent 2% intermittent test. 2019-10-05 20:59:55 +02:00
Enno Rehling
b9ae927aa3 remove copyright notices. 2019-09-13 21:35:44 +02:00
Enno Rehling
02f6f2f014 bug 2603: when familiars cast spells, use their name in messages. 2019-08-31 12:19:25 +02:00
Enno Rehling
c70e597b05 Update copyright notice with current date. 2019-07-14 09:37:35 +02:00
Enno Rehling
9f2741f3dc fix any migrants that have received aura. 2019-05-19 15:47:13 +02:00
Enno Rehling
1c01f4d083 fix the fix_fam_spells function (2585 WIP) 2019-05-19 15:28:16 +02:00
Enno Rehling
670aa56d4e fix_fam_spells happy case test (is familiar) 2019-05-19 15:14:01 +02:00
Enno Rehling
a35a0ca516 2582 WIP: failing test for regenerate_aura 2019-05-19 10:52:32 +02:00
Enno Rehling
2018238263 Bug 2584: gray mages can regenerate aura. 2019-05-18 13:16:13 +02:00
Enno Rehling
bcca812ecc Bug 2576: additional logging.
increase log verbosity, decrease some log levels.
2019-04-07 13:11:02 +02:00
Enno Rehling
35c6f30511 umlaut substitutions 2019-02-08 11:37:32 +01:00
Enno Rehling
0043690650 Merge branch 'master' into develop 2019-02-02 21:17:23 +01:00
Enno Rehling
af91459fb1 add some variety to familiar selection.
effskill: use NULL, not 0 for pointer arguments.
2019-02-02 20:38:02 +01:00
Enno Rehling
45de8535a0 Someone was casting leaveastral with more than 32 arguments recently. 2018-12-16 16:36:09 +01:00
Enno Rehling
7b8bc8af0f more allocation checks. 2018-12-15 20:01:51 +01:00
Enno Rehling
7ea64be314 code analysis scan.
add checks for malloc results.
reduce stack size.
2018-12-15 19:38:40 +01:00
Enno Rehling
264822a354 reduce variables scope (cppcheck warnings). 2018-12-11 19:57:27 +01:00
Enno Rehling
089be4bca8 cppcheck style warnings: reduce variable scope 2018-12-09 03:42:57 +01:00
Enno Rehling
3e54d307df replace bsdstring in bufunit 2018-11-24 12:26:52 +01:00
Enno Rehling
73540d733d Bug 2451: fix equip_unit for spells,
update the familiar-fixing code from bug 2517.
2018-11-22 22:13:23 +01:00
Enno Rehling
62e6489c7a rename variable.
print error, not debug message.
2018-11-21 21:46:59 +01:00
Enno Rehling
3638219e13 fix magic tests that created gray mages.
also fix mage_change_spellpoints.
2018-11-18 21:53:45 +01:00
Enno Rehling
4a66b558c5 WIP: refactor struct sc_mage (make it private).
tests are failing and/or slow.
2018-11-18 21:47:14 +01:00
Enno Rehling
b6110c5b22 some caster/mage changes issues (transfer aura is hard). 2018-11-17 22:28:55 +01:00
Enno Rehling
d2389fa87b Bug 2517: Vertraute ohne eigene Zauber reparieren
Trennung von caster und mage in spells.c
2018-11-17 21:31:05 +01:00
Enno Rehling
b181618b53 BUG 1877: change non-spell familiars.
1. mages can have actions when familiars cast spells.
2. familiar spells do not increase magician's costs.
3. improve separation of caster and mage.
2018-11-15 20:51:42 +01:00
Enno Rehling
0fd7906d41 extract contact logic to a module
add missing tests for contact to units.
add an attribute for contacting a faction.
2018-11-04 15:53:27 +01:00
Enno Rehling
89b10ee63d bug 2463 fix xmastrees, fix get_key/set_key 2018-11-03 20:30:57 +01:00
Enno Rehling
e5a59af19a Merge branch 'master' into develop 2018-10-21 20:13:19 +02:00
Enno Rehling
820de2ee35 fix cont arguments for new clibs version 2018-10-21 19:30:19 +02:00