Evil Eye
61e014a765
Allow negative values for ai stats
4 years ago
Andrei Kortunov
5468fcb29f
Store attributes and skills values as floats (bug #4021 )
5 years ago
Allofich
2cc1b52baf
Drain and fortify fixes for dynamicStats
...
(Fixes #3049 )
6 years ago
Allofich
dc468dd139
Fix magicka and fatigue calculations from fortifying attributes
9 years ago
Alexander "Ace" Olofsson
b1cc74dd9a
Explicity instantiate MWMechanics::Stat
10 years ago
Alexander "Ace" Olofsson
3655ef16af
Explicitly instantiate ESM::StatState
10 years ago
scrawl
d4c45efb2b
Remove useless #undef's for windows now that we have NOMINMAX flag
10 years ago
scrawl
36e1b6cc48
Support fatigue below zero for the Drain effect ( Fixes #2430 )
10 years ago
scrawl
3d5c1d1190
Adjust fix for maximum attribute damage limit
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
e197f5318b
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
41e15e0c2d
Limit maximum attribute damage ( Fixes #2367 )
...
Maximum damage that an attribute can have = base + fortify.
10 years ago
MiroslavR
b8d5a9486a
Make Restore/Damage Attribute/Skill effects continuous
10 years ago
Marc Zinnschlag
9788bbcab9
partially store creature state in saved game files (only attributes and dynamics for now)
11 years ago
Marc Zinnschlag
b0532e0c85
store NPC state in saved game files
11 years ago
scrawl
73268a8606
Fix skill progress not working
11 years ago
scrawl
4a3d148a48
Fixes #1089 (skill increases)
11 years ago
scrawl
b42240be6d
Implement Damage/restore skill/attribute effects. Use dedicated classes for skill and attribute values (instead of Stat<T>) since there are some important differences.
11 years ago
scrawl
32ff3b530c
Change all instances of skill/attribute values to use an appropriate typedef.
11 years ago
Emanuel Guevel
fc8bd1aacb
Allow fatigue stat to become negative when fatigue damages are taken
11 years ago
Chris Robinson
92082dae66
Modify the current magicka and fatigue when the base changes
12 years ago
Emanuel Guevel
074e241c32
MWMechanics::DynamicStat: fix members initialization
12 years ago
scrawl
8be9627c8d
Fix method signatures
12 years ago
scrawl
f7d8f6456f
Stats should never go below 0
12 years ago
Marc Zinnschlag
76de2f7360
Issue #342 : handle magic effects 79-82 and 17-20
13 years ago
Marc Zinnschlag
25a5657d80
Issue #324 : Modified the interface for modified stats
13 years ago
gugus
84dce2eb36
add physic and solve a problem with window.h macro min/max
14 years ago
Jan Borsodi
647129c866
The type used for Stat/DynamicStat templates are now stored as a typedef. Added some convenience constructors for initializing Stat/DynamicStat objects.
14 years ago
Marc Zinnschlag
8e6a765603
fixed a stats bug (reducing modified stats via setModified didn't work correctly
15 years ago
Marc Zinnschlag
3b6b343c9b
added GUI update for health, magicka and fatigue
15 years ago
Marc Zinnschlag
455bcf3b01
added get, set and mod instructions for health, magicka and fatigue
15 years ago
Marc Zinnschlag
63f686ffab
update attribute values in stats window
15 years ago
Marc Zinnschlag
77a0215d53
added get-, set- and mod-instructions for attributes
15 years ago
Marc Zinnschlag
04b86f7e1e
added first set of character and creature stats (attributes)
15 years ago