scrawl
7b6fe149f2
getSpellSuccessChance return 0 for used powers ( Fixes #2944 )
9 years ago
Marc Zinnschlag
a52b947efe
Merge remote-tracking branch 'dteviot/MagicEffectsRefactorDraft3'
10 years ago
dteviot
5dd0ad6841
Fixed rest of travis errors.
10 years ago
dteviot
77a1d947cc
extracted MWMechanics::getPlayer()
10 years ago
dteviot
85bc41dedb
replaced FLT_MAX with numeric_limits.
10 years ago
dteviot
0ee7407101
extracted common sub-expressions.
10 years ago
scrawl
d76fb2d266
Apply disintegrate only to weapons and armor ( Fixes #2853 )
10 years ago
scrawl
1e18a73b1c
Don't play magic effect sounds & visual effects for unsuitable targets ( Fixes #2811 )
10 years ago
scrawl
211deeb63e
Don't attempt to lock or unlock unsuitable objects ( Fixes #2826 )
10 years ago
scrawl
278a078e9d
Unify magic effect tick functions
...
- Removes duplicated code
- Handle some zero-duration instant effects that were not handled before (disintegrate, sun damage, elemental damage)
10 years ago
scrawl
974fda5bde
Merge branch 'master' of https://github.com/OpenMW/openmw into osg
...
Conflicts:
extern/sdl4ogre/sdlwindowhelper.cpp
10 years ago
scrawl
de8e5f0db1
Restore projectiles
10 years ago
scrawl
fd50be0fb8
Restore various gameplay
10 years ago
scrawl
d1b6289cad
Don't teleport followers when using teleportation spells
10 years ago
scrawl
8c810e3620
Move rng to components
10 years ago
scrawl
c92592493e
OpenMW: create a window and render the starting cell(s)
10 years ago
scrawl
4e69e7cc0f
OpenMW compiles and runs w/o render window
10 years ago
dteviot
3f28634d1f
consolidate random number logic
...
Note, I suspect Rng::rollClosedProbability() is not needed. The only difference between it and rollProbability() is that one time in 37k (on Windows), it will give an output of 1.0.
On some versions of Linux, the value of 1.0 will occur about 1 time in 4 billion.
10 years ago
scrawl
3879ce6ac1
Get rid of "player" string checks ( Fixes #2216 )
10 years ago
dteviot
ca8c8c6aa4
fixing MSVC 2013 warning C4244: & C4305
...
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
dteviot
45b6538820
fixed MSVC 2013 warning C4800
...
forcing value to bool 'true' or 'false'
10 years ago
scrawl
a653716e2c
Fix for damage/restore effects using the instant apply path when they have a duration
10 years ago
scrawl
f82751422d
Fix constant effect restore enchantments being applied incorrectly ( Fixes #2408 )
10 years ago
scrawl
77bb77b367
Fix for instant restore effects ( Fixes #2392 )
10 years ago
dteviot
8d7de7d1ec
Telekinesis allows safe opening of traps ( Fixes #1916 )
...
When trap activated at beyond normal activation distance, assume telekinesis used and detonate trap at trapped object's location.
Also some minor code refactoring of spellcasting.
1. Corrected parameter passed to explodeSpell().
2. For loop now correctly does an early exit.
3. Removed duplicated tests.
10 years ago
scrawl
378e91545d
Fix Tribunal/BM summon effects not working
10 years ago
Marc Zinnschlag
38a413a483
Merge remote-tracking branch 'scrawl/master'
10 years ago
scrawl
13c5bd5cc2
Enchanting: fix skill-based cast cost bonus being applied twice
10 years ago
scrawl
992b87ea44
Reset existing summons when the spell is re-casted ( Fixes #2135 )
10 years ago
scrawl
f267497c03
Allow separate summoned creature instances for each spell ID ( Fixes #2194 )
10 years ago
Marc Zinnschlag
31f6ccdf4d
Merge remote-tracking branch 'internecine/bug2031'
10 years ago
Internecine
e1fdcb608e
Fixed incorrect index
10 years ago
Internecine
a7a3ab0c78
Fixed instant negative dynamic stat changes being applied as positive
10 years ago
scrawl
363d1f9207
Merge remote-tracking branch 'upstream/master'
10 years ago
scrawl
de9d347018
Fix on touch area effect spells ( Fixes #2233 )
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
f931ba2efc
Fix some static analysis issues (coverity)
10 years ago
Alexander "Ace" Olofsson
462b41a3a8
Missing files, aka; Why you shouldn't stresscommit
10 years ago
Internecine
edc51ab768
Removed debug output
10 years ago
Internecine
6741fbe7a9
Fixes bug #2031
10 years ago
scrawl
8cb09e89ed
Make spells cast by scripts always succeed ( Fixes #1993 )
10 years ago
Marc Zinnschlag
744c56943a
Merge remote-tracking branch 'jordan-ayers/topic/misc-cleanup'
10 years ago
scrawl
5c3bc6563b
Fix divisions by zero in normalizedEncumbrance
10 years ago
Jordan Ayers
663647bee8
Simplify getEffectMultiplier.
...
Both return cases were same, except for some overflow conditions.
10 years ago
scrawl
56cd0da522
Fix potential infinite recursion when an area effect spell is reflected ( Fixes #1896 )
10 years ago
scrawl
58945c557a
Add sound for casting enchanted item with insufficent charge ( Fixes #1857 )
11 years ago
MiroslavR
fc789265e2
Spells that always succeed should not increase your skill when you cast them
11 years ago
scrawl
d8943aef2f
Encapsulate magic effect magnitude (Feature #1489 )
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