scrawl
c34314ae26
When an actor dies purge all spell effects cast by that actor ( Fixes #3175 )
9 years ago
scrawl
07b064f616
Rename to lowerCaseInPlace
9 years ago
scrawl
8c810e3620
Move rng to components
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
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
80fe24207c
correction from Scrawl.
...
Now correctly handles skills/attributes.
Also, document what ContentSelectorView::ContentSelector::slotAddonTableItemActivated() is doing.
10 years ago
dteviot
cdee6f41fc
fix: multi effect spell with different ranges ( Fixes #2285 )
...
Applies all effects for a spell with multiple effects, where not all effects have the same range.
10 years ago
scrawl
f267497c03
Allow separate summoned creature instances for each spell ID ( Fixes #2194 )
10 years ago
scrawl
0081a68376
Use fMagicStartIconBlink for spell effect indicator fading
10 years ago
MiroslavR
238325455d
Erase effects that have expired ( Fixes #2134 )
10 years ago
scrawl
9052cc4a57
Savegame: store ActiveSpells
11 years ago
scrawl
dfacf8c044
Change ActiveSpells to use ActorId
11 years ago
Thoronador
1b8c975d5b
minor performance improvements in apps/openmw
...
Checking for emptiness using size() might be inefficient, because
it can take linear time, while empty() is guaranteed to take only
constant time.
For non-primitive types, postfix ++ operators are inefficient
compared to prefix ++ operators, because post-increment usually
involves keeping a copy of the previous value around.
11 years ago
Marc Zinnschlag
367919200f
moved CellRefList into a separate file
11 years ago
scrawl
f78b846f9e
Handle CasterLinked magic effect flag
11 years ago
scrawl
7d8ca91286
Implement RemoveSpellEffects instruction
11 years ago
scrawl
299690631f
Implement SoulTrap magic effect
11 years ago
scrawl
596e0c8a49
Correct Dispel effect (use magnitude as chance)
11 years ago
scrawl
94d2ec8e4e
Add missing spells update
11 years ago
scrawl
0dc2e829dd
Lots of cleanup. Implemented Absorb and Resist. Implemented several instant effects. Added hand VFX.
11 years ago
scrawl
bb43ec9b35
Implement damage tick effects
11 years ago
scrawl
b1a29eb27e
Implement Resist & Weakness effects
11 years ago
scrawl
c73217627e
Move code for listing effect sources to the spell management classes
11 years ago
scrawl
a6e2f43b75
Stop continuous VFX when the effect is no longer active.
11 years ago
scrawl
9b0e82a37f
Projectile models are now spawned (no movement or impact yet). Refactored trap activation to apply range types properly. Handle ContinuousVFX for magic effects (note they aren't stopped yet when the effect ends)
11 years ago
scrawl
eccb8f38ba
Apply "cast when strikes" enchantments when hitting with a weapon
11 years ago
scrawl
ffdb91bb21
Add particles for Cast + Hit. Not looking quite right yet.
11 years ago
scrawl
cbe96a2170
Refactor ActiveSpells to track range type. Added basic self range magic.
11 years ago
scrawl
6f05c4229f
Implemented potion & ingredient effect stacking
12 years ago
scrawl
cf87708c1f
Magic effect icons for spells
12 years ago
eduard
2dc0064cc2
more string lowercase
12 years ago
scrawl
0db48b29c7
GetSpellEffects, GetRace
12 years ago
greye
86ad7a96f4
applying new interface vol.2, inconsistent
12 years ago
greye
2057f5619e
move ESMStore to MWWorld
12 years ago
greye
7606ebafd6
resolving conflicts, minor update
12 years ago
Marc Zinnschlag
2ccd7a480d
Issue #356 : added a missing return
12 years ago
Marc Zinnschlag
9de7b3bf90
Issue #356 : Properly support ingredients effect in ActiveSpells (hopefully)
12 years ago
Marc Zinnschlag
fca3b67507
Issue #356 : basic support for ingredients in ActiveSpells (still using the wrong formula)
12 years ago
Marc Zinnschlag
ec9ebe6b58
Merge branch 'skillgain' into potions
...
Conflicts:
apps/openmw/mwmechanics/activespells.cpp
13 years ago
Marc Zinnschlag
4c39fefd1e
Issue #107 : World is accessed only through the interface class from now on; some include cleanup
13 years ago
Marc Zinnschlag
83c3972a89
Issue #314 : added return value to addSpell function
13 years ago
Marc Zinnschlag
aa827442e8
Issue #314 : Generalised ActiveSpells class so that it can handle lasting effects from potions too
13 years ago
Marc Zinnschlag
9f1919a230
Issue #256 : added active spell management (completely untested)
13 years ago