Commit Graph

93 Commits (openmw-39)

Author SHA1 Message Date
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
10 years ago
scrawl 2ce269c0fc Werewolf stats compatibility with old save files 10 years ago
scrawl 44582fe3b3 Don't use separate werewolf skills/attributes for non-player werewolves
Still need to deal with save files.
10 years ago
Rohit Nirmal 396fba7fa9 Silence -Wreorder warnings, and remove -Wno-reorder. 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
scrawl e81d2a9dde Merge remote-tracking branch 'upstream/openmw-35' into HEAD
Conflicts:
	apps/openmw/mwmechanics/npcstats.cpp
10 years ago
scrawl 9dbd9af31c Adjust fix for Bug #2360 to repair affected savegames 10 years ago
scrawl b542143e3a Fix faction reputation case sensitivity issue (Fixes #2360) 10 years ago
scrawl 61ec9196c8 Cap the displayed attribute multiplier in levelup to attribute points left to 100 10 years ago
scrawl b5e0e45c78 Fix iLevelUpTotal not being used in the levelUp logic 10 years ago
scrawl ae77eacd7e Skill progress refactoring 10 years ago
scrawl 6d097fbfbd Normalise spelling of "levelled" throughout the code 10 years ago
scrawl 2346c3528d Remove NpcStats::mProfit and store it in the script instead
Also use the Profit label when the "minimumProfit" script variable exists, rather than hardcoding to NPCs.
10 years ago
scrawl 431f540791 ESSImport: fix NPC factions 10 years ago
scrawl 1869d37cfc Remove unused mLastDrowningHit 10 years ago
scrawl 579f5d232f Move interactive messageBox to separate function 10 years ago
scrawl efa9ff3a76 Fix incorrect implementation of iWerewolfBounty 10 years ago
scrawl c4fa671381 Don't allow raising faction rank if the next rank has no name (Fixes #1975) 10 years ago
scrawl 40587f984d Implement price-based mercantile skill progress (Fixes #1947), thanks Hrnchamd
Correct barter formula (removed erroneous clamping)
10 years ago
scrawl 4138c3e966 Reuse health of previous level rather than recalculating initial health (Fixes #1787) 11 years ago
scrawl 1dc9e151cb Count werewolf kills (Fixes #1525) 11 years ago
scrawl d5b97005ab Make ESM::Faction skills optional (Fixes #1508)
Also increased size of mSkills array to 7. Some factions with 7 skills can be found in the vanilla CS. The previously "mUnknown" int appears to be the 7th element of the skills array.
11 years ago
scrawl bfd91c0681 Fix potential NpcStats overwriting issue 11 years ago
scrawl 6cc691115b Savegame: store most of CreatureStats 11 years ago
scrawl b0fbea9d57 Removed a wrong assertion. Max drowning time is defined by GMST. 11 years ago
scrawl ef39b0f6ab Fixes #1291: Faction rank saving issue
A value of 0 is the first rank, -1 means not a member
11 years ago
Jeffrey Haines e2fab228f9 Save state is handled correctly now. 11 years ago
Jeffrey Haines 940c88d2ec Cleaned up code, implemented crime ids
There is a problem with my game freezing. ToggleAi stops my character
11 years ago
scrawl edb5a54092 Include some more required Ogre headers explicitely. 11 years ago
Marc Zinnschlag c18c3e51ee handle IDs that don't exist anymore after loading 11 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
Emanuel Guevel 8824af30b4 Allow to display message box outside of dialogue window 11 years ago
scrawl 82146e7f8d Use GMSTs for levelup 11 years ago
scrawl cc40cec395 Move levelup to NpcStats
The code came from back in the days where NpcStats did not derive from CreatureStats.
11 years ago
scrawl 264226dfe3 Handle iWereWolfBounty 11 years ago
scrawl 13646a651b Issue #777: Handle creatures with weapons in CharacterController. Move attack strength to CreatureStats. 11 years ago
scrawl 69ca03c308 Issue #777: Move DrawState to CreatureStats. All creatures can cast spells, and some creatures have weapons. 11 years ago
scrawl da3295d69c Closes #1106: Move stance to CreatureStats, since creatures also have separate run/walk animations. 11 years ago
scrawl 73268a8606 Fix skill progress not working 11 years ago
scrawl 19d63f392f Clean up the NpcStats expelled interface. Show message box when expelled. 11 years ago
scrawl 098f9712f1 Add getPlayerPtr() utility method. Reduces dependencies a lot. 11 years ago
scrawl f4517c8221 For dialogue filtering, use the Vampirism magic effect instead of the untouched NpcStats::mVampire 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
Lukasz Gromanowski 594cc693b2 Fixes #1006: Many NPCs have 0 skill
Added calculation of skill values for NPC with mNpdtType
set to NPC_WITH_AUTOCALCULATED_STATS (their NPDT is 12).

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Chris Robinson 39af9a13fa Remove some unused functions 12 years ago
Chris Robinson 2353ac1739 Properly implement SetWerewolfAcrobatics 12 years ago
Chris Robinson ae183cb3e4 Handle werewolf stats 12 years ago
Chris Robinson 46bc7bd9c8 Some cleanup since NpcStats is now also CreatureStats
This isn't a thorough cleaning, so keep an eye out for more
12 years ago