scrawl
a58bc9f2f7
Remove sneaking effect on combat AI ( Fixes #2237 )
10 years ago
scrawl
1bd3ab8a2d
Fix torch animation playing when torch is hidden ( Fixes #2236 )
10 years ago
scrawl
de9d347018
Fix on touch area effect spells ( Fixes #2233 )
10 years ago
scrawl
a62fe38a1b
Fix unsafe use of BaseNode
10 years ago
Internecine
5f9540318a
Fixed incorrect indexes
10 years ago
Internecine
a87fe71ddf
Added a helper function to handle dynamic stat changes
10 years ago
scrawl
768c4a5757
Update crime response to pickpocket attempts (thanks Hrnchamd)
10 years ago
scrawl
7f0d71f8f4
Swap use of iDispAttackMod/fDispAttacking (thanks Hrnchamd)
10 years ago
scrawl
019cd96719
Stop AiPursue when target has invisibility or chameleon>=75
10 years ago
scrawl
edc128572d
Add MWMechanics::Actor class for temporary actor state, move AiState there
10 years ago
scrawl
8bc7eb5530
PlayGroup: Don't loop animations with no loop keys ( Fixes #2223 )
10 years ago
scrawl
9e5dfb6e98
Update crime system according to research wiki for more accurate attack responses
10 years ago
scrawl
2410d79410
Fix iFightAttack and iFightAttacking being swapped
...
Looks like the research wiki page was incorrect, the higher value (iFightAttack) being for the victim makes more sense, is consistent with iDispAttackMod/fDispAttacking, and seems to be how the original game behaves as well.
10 years ago
scrawl
0081a68376
Use fMagicStartIconBlink for spell effect indicator fading
10 years ago
scrawl
f3738e9a98
Say an "intruder" voice dialogue for trespassing crimes ( Fixes #1082 )
...
Seems to be broken in the original engine, but according to the TES-CS help this is how the intruder voices should be used. There are legitimate entries for "intruder" in the game's files, so we might as well use them.
10 years ago
scrawl
866fdfe8bd
Crime system improvements
...
- If someone saw the crime, they will notify everyone else in range, even if the Alarm rating of the witness is 0.
- Pickpocket and selling stolen items now works properly, i.e. honors the victim's Alarm rating instead of always being reported.
10 years ago
scrawl
1910327469
Implement disposition changes due to crimes
10 years ago
scrawl
cc9af9562b
Function_CreatureTargetted should return '2' for werewolfs
...
This makes NPCs say the correct attack voice files when fighting a werewolf.
10 years ago
scrawl
efa9ff3a76
Fix incorrect implementation of iWerewolfBounty
10 years ago
scrawl
35d2bfabca
Adjust NPC response to pickpocket attempts ( Fixes #2219 )
10 years ago
scrawl
105f0f8716
Head tracking: don't look at dead actors
10 years ago
scrawl
8a210c49e9
Improve AI prioritising health potions
10 years ago
scrawl
f931ba2efc
Fix some static analysis issues (coverity)
10 years ago
scrawl
1b9209df4a
Allow blocking of hand-to-hand attacks
10 years ago
Alexander "Ace" Olofsson
462b41a3a8
Missing files, aka; Why you shouldn't stresscommit
10 years ago
Alexander "Ace" Olofsson
0af5c7b379
Starting to clean up some heavy includes
10 years ago
scrawl
d962f0918d
Implement NPC head tracking ( Fixes #1720 )
10 years ago
scrawl
4d5adfb5dd
Fix being able to use enchantments of items that failed to equip ( Fixes #2215 )
10 years ago
scrawl
2b78e9795d
Implement Calm effect removing combat packages ( Fixes #1985 )
10 years ago
scrawl
4f3995a4d8
Fix werewolf AI being able to use items
10 years ago
scrawl
88a2e4c043
Graceful error handling for missing spells/factions ( Fixes #1825 , Bug #2176 , Bug #2203 )
10 years ago
scrawl
60aa209144
Implement drowning when knocked out underwater ( Fixes #1228 )
10 years ago
scrawl
d034a079e6
Allow equipping twohanded weapon and shield at the same time ( Fixes #1785 )
...
The shield can be equipped, meaning armor rating and item enchantments apply, but can not be blocked with.
10 years ago
scrawl
bc85bb32c2
Fix vampirism magic effect not applying immediately ( Fixes #1984 )
10 years ago
scrawl
2601b26217
Merge branch 'master' of https://github.com/OpenMW/openmw
10 years ago
scrawl
886903d70e
Implement HitAttemptOnMe function (Bug #2078 )
10 years ago
scrawl
5f00a3d5c3
Reset lastHitObject when it is retrieved rather than every frame
...
This seems to be how vanilla MW does it.
10 years ago
Marc Zinnschlag
19bd07648b
Merge remote-tracking branch 'scrawl/pathgrid'
10 years ago
scrawl
3270f0e932
Change pathgrid workaround to check for interior cell name
10 years ago
scrawl
623783cd6a
Enchanting: fix cast cost for "on use" enchantments being set incorrectly
10 years ago
scrawl
ead6bf1601
Enchanting: cast the enchant points for the item to int ( Fixes #2202 )
10 years ago
scrawl
3c747195ae
Add fall damage for creatures ( Fixes #2201 )
10 years ago
scrawl
e0c6f84546
AiFollow: target has to be seen in order to start following ( Fixes #1637 )
10 years ago
scrawl
109a3f78a1
Adjust AiFollow distance for groups of multiple followers ( Fixes #1637 )
10 years ago
scrawl
0fe7500f74
Work around pathgrid record limitation ( Fixes #2195 )
10 years ago
scrawl
416d549568
Fix animation glitch caused by knockdown
...
If the player was knocked down while having no weapon, spell nor fists ready, the animation state would incorrectly shift to "weapon equipped" even though no weapon is equipped.
10 years ago
scrawl
83dcf9ce4b
Overwrite existing records in IndexedStore ( Fixes #2182 )
10 years ago
Marc Zinnschlag
eb6e1576be
Merge remote-tracking branch 'scrawl/master'
10 years ago
scrawl
14ae6d28b0
Fix being able to jump when overencumbered
10 years ago
scrawl
7faa849cef
Fix fatigue recalculation using older value (oops)
10 years ago
Paulo Viadanna
bfa048e687
Fix #1734 : AI will stop combat if target disappear
10 years ago
scrawl
46d93f1b08
Crime update: NPCs can report crimes if they didn't see the crime, but were alerted by someone who saw it and did not report it themselves.
10 years ago
scrawl
507cbcfae3
Remove incorrect implementation of the iAlarm* GMSTs, not used by vanilla MW ( Fixes #2064 )
...
According to Hrnchamd, these are unused. The real mechanics are not fully documented, but from a quick test only NPCs with an alarm value of 100 will report crimes.
10 years ago
scrawl
a1226501fa
AiWander: move idle animation handling to non-delayed section ( Fixes #2073 )
10 years ago
scrawl
c684c99a95
Combat AI: Don't attempt to cast spells when impossible to succeed ( Fixes #2059 )
10 years ago
scrawl
61d1aa78ce
Move AiWander path finder to temporary storage ( Fixes #2082 )
10 years ago
Marc Zinnschlag
003675318d
Merge remote-tracking branch 'scrawl/master'
10 years ago
scrawl
5f5fcc2fef
Make PlayGroup use an indefinite number of loops ( Fixes #2156 )
10 years ago
scrawl
0a466ad643
Make recalculation of magicka less aggressive ( Fixes #2155 )
10 years ago
MiroslavR
cb74c1c36e
Set health to 0 if it drops below 1 ( Fixes #2163 )
10 years ago
MiroslavR
238325455d
Erase effects that have expired ( Fixes #2134 )
10 years ago
MiroslavR
b8d5a9486a
Make Restore/Damage Attribute/Skill effects continuous
10 years ago
Internecine
edc51ab768
Removed debug output
10 years ago
Internecine
6741fbe7a9
Fixes bug #2031
10 years ago
MiroslavR
140013820b
Fix invalidated iterator
10 years ago
scrawl
45f14f0704
Fix stolen faction-owned items not being confiscated
10 years ago
scrawl
8b3755a770
Compile fix
10 years ago
scrawl
192069a181
Add automatic potion naming
10 years ago
scrawl
fd7c181e06
Fix alchemy producing potion IDs from content files
10 years ago
scrawl
f117a75747
Force walk animation when flying ( Fixes #2015 )
10 years ago
Alexander "Ace" Olofsson
dc788512e2
Fix LNK2019 link error on Visual Studio 2010 builds
...
For some reason VS2010 (Haven't tested 2013) is REALLY pedantic about class/struct being two different things when it comes to function signatures
10 years ago
Marc Zinnschlag
6beee95151
Merge remote-tracking branch 'terrorfisch/aistate'
10 years ago
Marc Zinnschlag
eb45793eab
Merge remote-tracking branch 'thoronador/fix-numeric-limits-usage'
10 years ago
Thoronador
4d62541b62
fix usage of numeric_limits static functions min() and max()
...
Functions min() and max() of std::numeric_limits<T> are static
and can therefore be accessed via class name and :: operator.
10 years ago
scrawl
d51daf5875
Fix AI not using F_Always spells, for example "vampire touch"
10 years ago
scrawl
8cb09e89ed
Make spells cast by scripts always succeed ( Fixes #1993 )
10 years ago
MiroslavR
ad253059b1
Hit indicator for absorb/damage health effect
10 years ago
MiroslavR
0ae604990e
Implement continuous damage indication ( Fixes #1970 )
10 years ago
terrorfisch
c4badcea6e
removed warning
10 years ago
terrorfisch
c28dfc2fa4
Travis CI fix?
10 years ago
terrorfisch
4eb1668467
references now initialized when they are needed
10 years ago
terrorfisch
bbca942601
-improved trigonometric precision
...
-cleanup
10 years ago
terrorfisch
5248917a6c
- changed namespace
10 years ago
terrorfisch
db1b93498d
Added comment.
10 years ago
terrorfisch
730abf6841
Moved all variables in temporary storage for AiCombat and some more for AiWander.
...
+Buxfix for previous AiWander changes
10 years ago
terrorfisch
cae948df96
removed unecessary PathFinders
10 years ago
terrorfisch
4c36c67fb8
Updated AiCombat:
...
-moved everything except target to temporary storage
-removed the Pathfinder since present in baseclass
-cleaned some trigonometric mess
10 years ago
terrorfisch
4391c1fd00
Addded the parts of AiWander that I fully understand to the temporary storage.
...
The rest should be done by someone who has a clearer overview over the class.
10 years ago
terrorfisch
0871d45790
Draft how to move temporary package state to CharacterController.
...
Example for a few values shown in AiWander.
10 years ago
Marc Zinnschlag
744c56943a
Merge remote-tracking branch 'jordan-ayers/topic/misc-cleanup'
10 years ago
Jordan Ayers
56db525a93
Document the return value of getEffectMultiplier.
10 years ago
scrawl
c4fa671381
Don't allow raising faction rank if the next rank has no name ( Fixes #1975 )
10 years ago
scrawl
5c3bc6563b
Fix divisions by zero in normalizedEncumbrance
10 years ago
scrawl
8dd410fe96
Teleport indirect followers as well when using a door ( Fixes #1974 )
10 years ago
Jordan Ayers
663647bee8
Simplify getEffectMultiplier.
...
Both return cases were same, except for some overflow conditions.
10 years ago
scrawl
6fc53e73ad
Don't run AI for knocked-out actors ( Fixes #1854 )
10 years ago
Marc Zinnschlag
a166034e12
Merge remote-tracking branch 'jordan-ayers/topic/disease-cleanup'
10 years ago
scrawl
861cc26aa6
Don't sell racial spells ( Fixes #1961 )
10 years ago
scrawl
afbd2de511
Fix broken alchemy magnitude/duration
10 years ago
scrawl
7e10818bdf
Fix uninitialized flags for custom-made spells
10 years ago
Jordan Ayers
3bc91c66e6
Disease Check: Shorten the resistance calculations.
10 years ago
Jordan Ayers
a9a0930b85
Disease check: Reuse corprus check from spells.hpp.
10 years ago
scrawl
1c51694aa9
Don't update physics and animation for actors outside the AI processing distance
10 years ago
scrawl
ee8b85aa2c
Fix priority bug in AiSequence::stack ( Fixes #1959 )
10 years ago
Jordan Ayers
da9d858201
Add 'const' to a spell helper function.
10 years ago
scrawl
7f18f85a1d
Forgot const
10 years ago
scrawl
e9ed0211c9
Attempt to fix Clang warnings
10 years ago
scrawl
02dec787fd
Cache GMSTs in getDerivedDisposition
10 years ago
scrawl
ea956b537c
Don't search for fFatigueReturnBase and fFatigueReturnMult every frame
10 years ago
scrawl
e868a48a63
Don't trigger OnPcHitMe for friendly hits ( Fixes #1950 )
...
Don't consider actors as followers if they are also in combat with the follow target
10 years ago
scrawl
7252cb63a6
Fix cppcheck issues
10 years ago
scrawl
f56711f443
Fix crash caused by teleportation spells ( Fixes #1904 )
10 years ago
scrawl
8ad2b95208
Revert "AiFollow: return from execute() if target is not player"
...
This reverts commit 061c7813f6
.
Fixes #1898 .
10 years ago
scrawl
40ce5add59
Don't report crime for attacking an NPC that is already in combat with another NPC ( Fixes #1908 , Fixes #1821 )
10 years ago
scrawl
40587f984d
Implement price-based mercantile skill progress ( Fixes #1947 ), thanks Hrnchamd
...
Correct barter formula (removed erroneous clamping)
10 years ago
Marc Zinnschlag
175d4f3d44
Merge remote-tracking branch 'ragora/playdeathlevelupmusic'
10 years ago
Ragora
06e683d378
Added code to play music on level up and on death
10 years ago
scrawl
3ac04060c1
Fix NPCs being able to practice Block skill
10 years ago
scrawl
023d7072f9
Don't play battle music for enemies out of AI processing range
10 years ago
Marc Zinnschlag
65ddf7acfe
Merge remote-tracking branch 'scrawl/master'
10 years ago
Marc Zinnschlag
2a48c377a8
Merge remote-tracking branch 'miroslavr/master'
10 years ago
scrawl
b145d183ae
Fix incorrect alchemy failure handling when an effect has a zero magnitude/duration ( Fixes #1922 )
10 years ago
scrawl
8a3a3baed4
Tweak AiEscort maximum distances
10 years ago
scrawl
b39fe85a51
Implement fPCbaseMagickaMult and fNPCbaseMagickaMult
10 years ago
scrawl
c19f89976e
Add missing Hit voice dialogue for friendly hits
10 years ago
scrawl
be7839873a
Don't trigger dynamic stats recalculation when setting up actor initial stats ( Fixes #1927 )
...
This caused the magicka value set in the CS to be ignored completely, so flame atronachs were spawning with 50 magicka instead of 105.
10 years ago
scrawl
447e93bdb4
Use SpellCast animation for creatures that have it (flame atronach)
10 years ago
scrawl
07cd647e75
Fix broken AI for creatures with OnTarget spells (Bug #1927 )
10 years ago
scrawl
2eaceb71ba
Reject AiTravel destinations further than 7168 units away, as in vanilla MW ( Fixes #1911 )
10 years ago
scrawl
3ce3f31452
Adjust turning animation speed multiplier based on turning speed
10 years ago
scrawl
6debd21ec6
Make sure the Jump control is always handled by the PhysicsSystem even if game runs faster than the minimum physics timestep
10 years ago
scrawl
269c200c8f
Fix jump velocity mechanics ( Fixes #1708 )
10 years ago
scrawl
b6a89c7845
Fix idlestorm animation conflict with torch animation
10 years ago
scrawl
4c285151a3
Fix incorrect movement animation for some creatures ( Fixes #1924 )
10 years ago
scrawl
0c75c6bf1b
Improve spellcasting AI for Drain/Damage effects
10 years ago
scrawl
157c53bed4
Handle spellcasting for creatures with no casting animation ( Fixes #1856 )
10 years ago
scrawl
233e221de2
Terminate AI packages when target is disabled or deleted ( Fixes #1910 )
10 years ago
scrawl
a42e60970b
Revert "delete death events on adding an actor to the scene"
...
If we go to a different cell in the exact frame of an actor's death, the death event would be lost permanently.
This reverts commit fd2c07a6f4
.
Conflicts:
apps/openmw/mwmechanics/actors.cpp
10 years ago
scrawl
8625764143
Give 100% of health back when Resurrecting an actor ( Fixes #1877 )
10 years ago
MiroslavR
23e6d52844
Fix UI not updating initially for zero stats
10 years ago
Marc Zinnschlag
b5d5eadf79
Merge remote-tracking branch 'scrawl/master'
10 years ago
scrawl
f3d4b63aaf
Fix AI moving load doors and throw an exception when trying to do this ( Fixes #1907 )
10 years ago
scrawl
dd5f4947d7
Add a TODO comment
10 years ago
scrawl
56cd0da522
Fix potential infinite recursion when an area effect spell is reflected ( Fixes #1896 )
10 years ago
MiroslavR
21eb25706c
Don't pursue the player for their crimes when they are a werewolf
10 years ago
scrawl
d2ef0d362c
Implement vanilla distance threshold for AI processing (Bug #1876 )
10 years ago
scrawl
780a48cd1e
Don't greet dead actors in AiWander
10 years ago
scrawl
a9847c9453
Fix creature attacking flag not being reset after the attack starts ( Fixes #1889 )
10 years ago
scrawl
adbc50366b
Use random attack strength for creatures (Bug #1876 )
...
Determining the attack strength from the time the wind-up animation was held will not work properly, as most creatures don't have this animation.
This fixes another balancing issue with Rieklings (they were previously using an attack strength of 1 every time).
10 years ago
scrawl
31b31115af
Fix AI not using Restore Health effect when it is complemented by unnecessary restore magicka/fatigue effects (e.g. in sc_purityofbody)
10 years ago
MiroslavR
931e778b4d
Initialize mHasMovedInXY in CharacterController
10 years ago
MiroslavR
007404e17f
Merge branch 'master' of github.com:OpenMW/openmw
10 years ago
MiroslavR
b1a449a0b9
Fix wolfrun sound playing all the time when running is default
10 years ago
MiroslavR
c1cc66985d
Werewolf: only NPCs should have modified fight and react to your transformation
10 years ago
scrawl
282c93ccc5
Handle death in actor update rather than instantly ( Fixes #1866 )
10 years ago
MiroslavR
9e0d5dc28a
Werewolf: can't sleep in beds anymore, actors will attack you on sight, and if you are seen transforming, you will be marked for death
10 years ago
scrawl
628d57f18c
Merge branch 'master' of https://github.com/OpenMW/openmw
10 years ago
scrawl
84a0d064cd
Fall back to regular death animation if deathknockdown/deathknockout don't exist ( Fixes #1870 )
10 years ago
Marc Zinnschlag
4894699eba
Merge remote-tracking branch 'scrawl/master'
10 years ago
MiroslavR
7dfba0ae30
Followers with high fight should not engage in combat with the player
10 years ago
scrawl
9caff1d800
Don't say Idle voices when player is not in LOS ( Fixes #1436 )
10 years ago
scrawl
0da4757ee6
Merge branch 'master' of github.com:scrawl/openmw
10 years ago
Corporama
ccca6db865
Compile fixes for Linux
10 years ago
scrawl
9d6ca9066f
Fix summoned creatures not following for non-player summoners
10 years ago
scrawl
180a831e96
Fix typo in combat distance
10 years ago
scrawl
58945c557a
Add sound for casting enchanted item with insufficent charge ( Fixes #1857 )
11 years ago
scrawl
a62e40f4ed
Add situational AI use of Feather, Dispel and Cure effects
11 years ago
cc9cii
fa0352cd75
fix typo
11 years ago
cc9cii
961b4f0142
Suppress a warning.
11 years ago
scrawl
0be1ac1343
Enable casting of NoMagnitude effects in AI (e.g. summoned creatures)
11 years ago
scrawl
feeb740497
Fix bone not found exception for golden saint spellcasting
11 years ago
scrawl
0f43592237
Another invalid iterator fix
11 years ago
scrawl
f91d639782
Add missing soul trap sound ( Fixes #1855 )
11 years ago
scrawl
253036abee
Play VFX_Soul_Trap on successful soul trap
11 years ago
scrawl
f8f4d2dfdb
Another invalid iterator fix
11 years ago
scrawl
1a98f8ca93
Invalid iterator fix
11 years ago
scrawl
2e623bac5a
Don't attempt to use broken weapons in AI
11 years ago
scrawl
0bdc1b243a
Consider weapon ammunition in combat AI ( Fixes #1576 )
11 years ago
scrawl
0fe9612afb
Implement basic spellcasting AI ( Fixes #961 )
...
Select a weapon to attack with in AiCombat and equip it (Fixes #1609 , Fixes #1772 )
11 years ago
scrawl
fc7ed05da8
Knock out actors when fatigue base is 0 ( Fixes #1847 )
11 years ago
scrawl
854491ac15
Don't treat actors as following if another non-combat AiPackage precedes ( Fixes #1843 )
11 years ago
scrawl
7714192e28
Remove wrong comment
11 years ago
MiroslavR
fc789265e2
Spells that always succeed should not increase your skill when you cast them
11 years ago
Marc Zinnschlag
d024c1a93f
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
c5c822ecba
Use Chop attack when walking diagonally ( Fixes #1729 )
11 years ago
scrawl
e0e4cbbb41
Implement Light magic effect ( Fixes #1122 )
11 years ago
scrawl
3dbe17b6ed
Terminate AiPursue when target dies ( Fixes #1836 )
11 years ago
MiroslavR
85aa237baf
Implement removal of corprus spells
11 years ago
MiroslavR
2cbe17ca0a
Make Spells::mCorprusSpells private
11 years ago
MiroslavR
26732bc228
Purge blight should not remove corprus
11 years ago
MiroslavR
96e7ff666d
Implement saving/loading of corprus stats, remove redundant code
11 years ago
MiroslavR
3722c7adc3
Initial work on implementing corprus worsening effect
11 years ago
scrawl
9b38888ac9
Add missing AiFollow ActorId initialization ( Fixes #1818 )
11 years ago
scrawl
bcc79919a7
Fix fortified skill not immediately updating on changing equipment
11 years ago
scrawl
360c7f863c
Store magic effect Base values in savegame ( Fixes #1489 )
11 years ago
scrawl
2db50da8dd
Implement magic effect script instructions (Feature #1489 )
11 years ago
scrawl
d8943aef2f
Encapsulate magic effect magnitude (Feature #1489 )
11 years ago
scrawl
084cc857d4
Update magic effects when changing equipment ( Fixes #1646 )
11 years ago
scrawl
1bb82c710c
Fix use of uninitialized memory in AiWander::init
11 years ago
scrawl
061c7813f6
AiFollow: return from execute() if target is not player ( Fixes #1637 )
11 years ago
scrawl
f8010c09fe
Adjust combat engagement of following actors ( Fixes #1810 )
11 years ago
scrawl
d649c19790
Cache ActorId in AiFollow::getTarget ( Fixes #1804 )
11 years ago
scrawl
8ae6796b2f
Play creature movement animation without scaling if a fallback is used ( Fixes #1797 )
11 years ago
scrawl
8866b5f860
Fix maximum magicka calculation ( Fixes #1795 )
11 years ago
scrawl
34847baa54
Disable head animations for dead actors ( Fixes #1781 )
11 years ago
scrawl
98bc4618cb
AiAvoidDoor: turn and walk forward instead of backwards or sideways ( Fixes #1788 )
11 years ago
scrawl
fcd2a9e4d5
Don't set magic effects for dead actors ( Fixes #1783 )
11 years ago
scrawl
4138c3e966
Reuse health of previous level rather than recalculating initial health ( Fixes #1787 )
11 years ago
scrawl
a731ec3587
Remove summoned creature and its effect when it is killed ( Fixes #1341 )
11 years ago
scrawl
22d7d8a466
Implement Command creature/humanoid magic effects ( Fixes #1120 )
11 years ago
scrawl
2bfcec53bf
Don't show sMagicInvalidTarget for soultrap on NPCs ( Fixes #1762 )
...
Note the message was accurate, since NPCs can't be soultrapped. Maybe vanilla doesn't show it to not spam the screen with message boxes when attacking with a "soultrap on strike" weapon...
11 years ago
scrawl
a9a7a7ec73
Use Modified attribute values to derive magicka and fatigue ( Fixes #1760 )
11 years ago
scrawl
1fc424ce30
Make sure player doesn't get any AI packages (Bug #1749 )
11 years ago
Marc Zinnschlag
33c36bf0df
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
639ae7e06c
Implement friendly hits on followers ( Fixes #1139 )
11 years ago
scrawl
2d74388a76
Don't report crime if we are in combat with the victim
11 years ago
scrawl
216ebac2e9
Implement weapon condition damage for ranged weapons ( Fixes #1746 )
11 years ago
Marc Zinnschlag
dbf5613d8c
cleanup
11 years ago
Digmaster
a32ab842ae
Added ForceJump/ForceMoveJump commands
11 years ago
scrawl
175cc98e64
Make magic effects with no corresponding resistance attribute unresistable ( Fixes #1727 )
11 years ago
scrawl
78bd516ab4
Show sMagicInvalidTarget for an invalid soultrap target ( Fixes #1728 )
11 years ago
Michał Ściubidło
f754e06be9
Fix for bug 1685
11 years ago
scrawl
45af34d189
Merge branch 'master' of https://github.com/OpenMW/openmw
11 years ago
Michał Ściubidło
bd3729a6cb
Add grace periods for player greeting.
...
Add delay for NPC greating. NPC ignores greeted player after some time.
Fixes bug 1503.
11 years ago
Michał Ściubidło
d47bfbe69c
Implement AI greeting states.
...
Greeting consist of 3 phases:
- none - default one, greeting state can only change to "in progress"
when near enough and some time passes
- in progress - NPC says his greating and rotates toward player,
state can only change to "done" after some time
- done - rotation is stoped, after idling can go away from player,
state can only change to "none" when player and NPC are faraway
11 years ago
Michał Ściubidło
20efeea5d9
AI tell their greatings even when player is moving (like morrowind).
...
Greating reset distance was greatly inflated comparing with morrowind.
11 years ago
scrawl
8455ed6279
Cancel upper body animations when knocked down
11 years ago
scrawl
5349699172
Only show "target resists magic" message for spells cast by player
11 years ago
scrawl
f67b7dae91
Sheath weapon in all Ai packages except for AiCombat
11 years ago
scrawl
d956df83e4
Don't make guards fight non-aggressive creatures that are in combat
...
Ex. summoned creature that is helping in a fight.
11 years ago
scrawl
d9a6515fe3
Adjust AiFollow running threshold to more closely match vanilla MW
11 years ago
scrawl
4773d754c6
Remove redundant isHostile flag ( Fixes #1652 )
11 years ago
scrawl
0077296c91
Take actor's speed into account in stuck check
...
The Winged Twilight's walking animation was so slow that it incorrectly detects being stuck.
11 years ago
scrawl
315b022d2d
Add transfer gold from all services to NPC trade gold pool
11 years ago
scrawl
6262d6c964
Don't leave stale player CharacterController in Actors when loading game ( Fixes #1713 )
11 years ago
scrawl
d81e9cfefd
Implement actors fighting for the actor they are following ( Fixes #1141 )
11 years ago
scrawl
09607f992e
Enchanting: fix inverted self-enchant success chance ( Fixes #1701 )
11 years ago
scrawl
4a1e561015
Properly assign effect attribute/skill in potion creation ( Fixes #1704 )
11 years ago
scrawl
90b2709d6c
Allow absorption of non-harmful spells ( Fixes #1693 )
...
Also fix absorption being calculated for each effect rather than the whole spell.
11 years ago
scrawl
469d2afffa
Merge branch 'master' of https://github.com/OpenMW/openmw
...
Conflicts:
apps/openmw/mwgui/levelupdialog.cpp
11 years ago
scrawl
7ae9bbb1a5
Implement iCrimeThresholdMultiplier
11 years ago
scrawl
fc618cb3ea
Use separate function for fatigue restoration during resting/waiting
11 years ago
scrawl
75366b2e37
Implement CellRef's faction rank (rank requirement to use item)
11 years ago
scrawl
2b57c7fa67
Use CellRef's global variable to disable owner ( Fixes #1677 )
11 years ago
Lukasz Gromanowski
171c61022d
Added initialization of weapRange in AiCombat::execute().
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl
c0645d4978
Increase death count immediately on death (Bug #1588 )
...
This is required for scripts using getDeadCount as reaction to onDeath that rely on the increased value.
11 years ago
scrawl
804f1a5e59
Adjust combat mechanics
...
- Projectiles can not trigger critical hits
- Critical hits are only possible if the target is not in combat (Fixes #1669 )
- Hand-to-hand deals damage to health during entire duration of knockdown animation (including standing up)
11 years ago
scrawl
90a96cd7d8
Fix bug where actors in combat with multiple other actors where not regarded as in combat with a specific actor
11 years ago
scrawl
6d794dac69
Add missing messagebox for spell lock and unlock success
11 years ago
scrawl
9897f14c3c
Don't block when actor is paralyzed
11 years ago