Commit Graph

921 Commits

Author SHA1 Message Date
Collin Smith
7305ce40a6 Refactored Stat.stat to Stat.id 2019-04-06 20:32:52 -07:00
Collin Smith
d29e22ece5 Limited set bonus to only display for equipped items 2019-04-06 20:30:08 -07:00
Collin Smith
d210ae84dc Added support for adding dex modifier to armorclass
Added support for adding dex modifier to armorclass
Added Stat.add(int) method which only works with encodings 0,1,2
2019-04-06 15:38:14 -07:00
Collin Smith
878786a49f Added armorclass calculation support for player attributes 2019-04-06 15:29:30 -07:00
Collin Smith
7cb45f389d Fixed vitality and energy calculations
Fixed vitality and energy calculations
Small optimization to Attributes.update to reduce copying
Added updateStats function which will be used to operate on some stats, like skills
2019-04-06 15:18:00 -07:00
Collin Smith
e5fa9025fa Previous commit should have removed need for scratch, since the ops are no longer multiplicative 2019-04-06 14:49:08 -07:00
Collin Smith
512b6eb55a Fixed issue where opstats were applying to aggregate instead of base value 2019-04-06 04:44:54 -07:00
Collin Smith
377ddb1cc6 Fixed item property list application (See #36)
Fixed item property list application
Removed coupling between individual lists
Included set items to item property list applications
Created scratch property list within Attributes to assist with pre-aggregation
2019-04-06 04:37:02 -07:00
Collin Smith
0d66edcd9c Small formatting change 2019-04-06 04:03:59 -07:00
Collin Smith
5d0ee82cd3 Small fix for some of my custom items
I don't anticipate this being necessary for any game generated items
However the original client can display them, so why not mine
2019-04-06 04:03:33 -07:00
Collin Smith
561b8a8022 Fixed set property lists to be cumulative 2019-04-06 03:58:28 -07:00
Collin Smith
a7511cb741 Added support for charms 2019-04-06 03:29:37 -07:00
Collin Smith
62ef62c497 Removed Stat.Instance in favor of Stat (previously Stat was an enum, so Stat.Instance was necessary) 2019-04-06 02:41:41 -07:00
Collin Smith
47c63dce58 Added basic item-player stat aggregation (See #36) 2019-04-06 00:59:12 -07:00
Collin Smith
7b7146dcdf Redesigned Attributes (See #36) 2019-04-05 23:10:38 -07:00
Collin Smith
cdf196bcec Changed items to be assigned an empty sockets array by default 2019-04-05 03:07:10 -07:00
Collin Smith
fa956b47d1 Removed grouping of SET and UNIQUE cases 2019-04-05 02:46:24 -07:00
Collin Smith
699e905ba2 Refactored socketed to sockets 2019-04-05 02:44:52 -07:00
Collin Smith
39f0ada5a7 Moved attributes to update method within Item
Moved attributes to update method within Item
Modified attributes to be an accessor within Attributes
2019-04-05 00:56:48 -07:00
Collin Smith
87dd1f873b Fixed chance to block to include default character class block chance 2019-04-04 23:51:00 -07:00
Collin Smith
f0c06afed9 Added life, stamina, mana and defense to character panel 2019-04-04 22:06:11 -07:00
Collin Smith
c7576e4f99 Added error detection for multiple cursor items 2019-04-04 19:14:31 -07:00
Collin Smith
b1109882a6 Fixes #39
Fixes #39
Added Excel.EXPANSION declaration to weapons, armor and misc excels
2019-04-04 17:58:43 -07:00
Collin Smith
93e584df57 Added ValShift to starting hp,mana,stamina fields 2019-04-04 17:04:39 -07:00
Collin Smith
598f424f3a Temp fix for #37 2019-04-04 16:59:58 -07:00
Collin Smith
fe9cdd0fd8 Added remaining columns to CharStats excel 2019-04-04 16:17:49 -07:00
Collin Smith
3c40777ac8 Added DifficultyLevels excel
Added DifficultyLevels excel
Removed Files.loadObj -- was deprecated and Files.loadInternal works fine
2019-04-04 16:10:03 -07:00
Collin Smith
86ae7560f7 Fixed attrs to show correct, modded values
Fixed attrs to show correct, modded values
Fixed weapon damage description for 1h, 2h and both (if barb)
2019-04-03 06:22:27 -07:00
Collin Smith
57a554549c Added Stat.op function to format stat values correctly (See #38)
Added Stat.op function to format stat values correctly
Minor fixed to prevent a NPE if loading character with no hireling (See #40)
Added TODO for default resistances
2019-04-03 03:34:49 -07:00
Collin Smith
d5fcec07f8 Refactored D2S stat names to their correct names within ItemStatCost.txt 2019-04-03 01:51:23 -07:00
Collin Smith
5a5819329a Closes #35 2019-04-03 01:44:09 -07:00
Collin Smith
bdfbb5c922 Added set items tracking 2019-04-02 15:53:05 -07:00
Collin Smith
93f578373f Created Attributes class (see #36) 2019-04-02 15:32:28 -07:00
Collin Smith
d4858781c9 Created CharData (See #35) 2019-04-01 22:44:08 -07:00
Collin Smith
8b590d109c Removed item groups from D2S 2019-04-01 20:49:48 -07:00
Collin Smith
d05a3c6f3e Added horadric cube
Added horadric cube
Added support for usable item spells
2019-04-01 17:44:06 -07:00
Collin Smith
18c12515a3 Added gold transfer button 2019-04-01 17:26:40 -07:00
Collin Smith
b4b679ec66 Disabled control panel grouping cvar on mobile 2019-04-01 17:09:26 -07:00
Collin Smith
c7be4a6b8b Fixed bug where required code was run in an assertion and not running on android 2019-04-01 05:46:09 -07:00
Collin Smith
3c71976972 Fixed issue where blocked audio que played when no item was held 2019-04-01 03:37:27 -07:00
Collin Smith
33504d74d6 Removed incorrect assertion 2019-04-01 03:34:53 -07:00
Collin Smith
df40ff5acd BeltGrid will no longer allow non poti item types
BeltGrid will no longer allow non poti item types
Added support for ItemGrid to reject an item type
2019-04-01 02:57:49 -07:00
Collin Smith
8010dd9c4e Added hideable belt to control panel
Added hideable belt to control panel
Populated belt with d2s potions
2019-04-01 02:40:01 -07:00
Collin Smith
4cc26c8c03 Disabled debug mode for these classes 2019-04-01 01:29:24 -07:00
Collin Smith
fd7efd2b80 Added labels for stash and inventory gold counts 2019-04-01 01:19:45 -07:00
Collin Smith
a3c9475ef7 Added support for ungrouping control panel (configurable via Cvar)
Added support for ungrouping control panel (configurable via Cvar)
Health and mana widgets were obstructing panels in some resolutions
2019-03-31 23:34:00 -07:00
Collin Smith
f04e697f7b Rewrote D2S with deferred loading of non-header data (see https://github.com/collinsmith/riiablo/issues/35#issuecomment-478408263)
Rewrote D2S with deferred loading support
Reworked some D2S naming to be more in line with use
Added support for Iron Golem header
D2S codec now capable of parsing entire file
2019-03-31 22:22:56 -07:00
Collin Smith
e1a50fc30f Stash grid will now populated with player items
Stash grid will now populated with player items
Changed design of player store to retrieve lists by StoreLoc
2019-03-31 16:54:45 -07:00
Collin Smith
1642dd8ec5 Added hireling stats panel 2019-03-31 16:31:31 -07:00
Collin Smith
3fad7d4b6a Added hireling items to hireling panel 2019-03-31 05:12:36 -07:00