Commit Graph

67 Commits (master)

Author SHA1 Message Date
Capostrophic 8d22e075e6 Separate functions that don't belong to CastSpell class 5 years ago
Andrei Kortunov f0cef772fa Refactor weapon types behaviour
1. Move weapon types behaviour from switches to the table (should allow
us to de-hardcode weapon types later)
2. Gereralize bones injection to actors skeletons (instead of using the
hardcoded xbase_anim_sh.nif)
5 years ago
Artem Nykolenko 610e87cb24 Fix Non-swimming enemies entering water if player is water walking (bug #5099) 6 years ago
Andrei Kortunov 1832f1759d AI: use a consistent check if a target is hidden (bug #4920) 6 years ago
Andrei Kortunov e06f0b797a Replace all NULLs to nullptr 6 years ago
Marc Zinnschlag 78a84042ad Merged pull request #1901 6 years ago
Capostrophic 7ef6fa9f61 Remove deprecated GMST get* functions 6 years ago
Andrei Kortunov 5d54214acb Optimize combat action iteration 6 years ago
Capostrophic 73d5496711
Revert addition change 7 years ago
Capostrophic 80f3bd9f86 Don't apply iWereWolfFleeMod to creatures 7 years ago
Andrei Kortunov b995617559 implement rateAmmo() function 7 years ago
rexelion a1d9f11b04 use fProjectileMaxSpeed for ranged weapons distance 7 years ago
Andrei Kortunov cf7a6232d0 Combat AI: use WhenUsed enchantments 8 years ago
Andrei Kortunov 604f9ee323 Split weapons and spells rating code from combat actions 8 years ago
scrawl eac2e52841 Merge pull request #1329 from akortunov/priorityfix
Combat AI: make default spell priority calculation formula close to vanilla
8 years ago
scrawl fde6e29628 Merge pull request #1326 from akortunov/spellpriority
Combat AI improvements [feedback needed]
8 years ago
Andrei Kortunov 3ba0a336b7 Move spell magicka cost calculation to standalone function 8 years ago
Andrei Kortunov 98f161c7fd Combat AI: avoid enemy hits when casting Self-ranged spells (fixes #3922) 8 years ago
Andrei Kortunov 143fdae6fe Make spell priority calculation close to vanilla (bug #3937). 8 years ago
Andrei Kortunov 1a8f2bfc11 Combat AI: select target by priority 8 years ago
Andrei Kortunov a2be73295b Combat AI: take in account enemy weapon resistance 8 years ago
Andrei Kortunov 62b24eb078 Combat AI: do not use range weapons under water 8 years ago
scrawl 53264f34b3 Merge pull request #1321 from akortunov/spellpriority
Use mRange to check spell range instead of mArea.
8 years ago
Andrei Kortunov 87939bf3b1 Use mRange to check spell range instead of mArea. 8 years ago
scrawl 80eb2ea35d Merge pull request #1313 from akortunov/spellpriority
Make combat AI to do not cast target spells under water
8 years ago
Andrei Kortunov 9fdfb2a83f Spell priority: make AI do not cast target spells when enemy is under water 8 years ago
Bret Curtis d785344fad purge all instances of <boost/shared_ptr.hpp>, clean up unused headers 8 years ago
Andrei Kortunov 3190f28710 Spell priority: make AI do not cast target spells under water 8 years ago
Andrei Kortunov 00402b7154 Removed unused variable 8 years ago
Andrei Kortunov 42f3c73c75 Spell priority: dispel usage improvements 8 years ago
Andrei Kortunov f6c3d4935e Spell priority: feather and burden 8 years ago
Andrei Kortunov 6c21e4ed31 Spell priority: ignore some effects useless in battle 8 years ago
Andrei Kortunov 4d927439ca Spell priority: item wearing check when disintegrate weapon/armor 8 years ago
Andrei Kortunov d598809ac6 Spell priority: check spell resistance, check if actor is already has a non-magnitude effect 8 years ago
scrawl c4a89065a2 Preload VFX of spells selected by AI actors 8 years ago
MiroslavR 5e46121046 Implement fleeing AI (Closes #1118) 8 years ago
Allofich 3bbde312b9 Remove unneeded code 8 years ago
Allofich 3f6543860a Make creatures use fHandToHandReach 8 years ago
mrcheko 612c7f1a2f Revert "Revert "Merge pull request #993 from mrcheko/pathfinding""
This reverts commit 3732979eec.
8 years ago
scrawl 3732979eec Revert "Merge pull request #993 from mrcheko/pathfinding"
This reverts commit 5190275b37, reversing
changes made to d7845012bf.
9 years ago
mrcheko 8d4f0660ce fix hardcoded melee attack ranges 9 years ago
mrcheko 05794505c8 travis build fix 9 years ago
mrcheko d2fe6fe857 Merge remote-tracking branch 'refs/remotes/origin/master' into pathfinding
# Conflicts:
#	apps/openmw/mwmechanics/aiactivate.cpp
#	apps/openmw/mwmechanics/aicombat.cpp
#	apps/openmw/mwmechanics/aicombat.hpp
#	apps/openmw/mwmechanics/aifollow.cpp
#	apps/openmw/mwmechanics/aipackage.cpp
#	apps/openmw/mwmechanics/aipackage.hpp
#	apps/openmw/mwmechanics/aiwander.cpp
#	apps/openmw/mwmechanics/aiwander.hpp
9 years ago
Allofich b1be3596dc Cleanup of #include statements 9 years ago
Daniel Pettersson 256439f884 Added 1.5 bonus for ranged weapons when weapons are rated 9 years ago
scrawl a7b217def2 AI: don't cast fortify effects (Fixes #3184) 9 years ago
scrawl 162287b82d AI combat actions: rename 'target' to 'enemy' 9 years ago
scrawl 94c05c6baa AI: don't cast useless resist spells (Fixes #2760) 9 years ago
scrawl d3415387a5 AI: take into account success chance when rating a spell 9 years ago
mrcheko b304e98568 implement ActionWeapon::getCombatRange (move logic from AiCombat) 9 years ago