Commit graph

237 commits

Author SHA1 Message Date
TJ
5477f9371d Add force powers 2021-03-27 15:23:27 -05:00
TJ
b057026328 Remove built in species bonuses 2021-03-27 14:45:05 -05:00
TJ
9bbc9af285 Add species 2021-03-24 19:55:33 -05:00
supervj
4d67bef903 Update default values of temp data
Update defaults to null from 0 to allow descriptor of fields to show

Noted by Bacalla:
8206774843

I followed suit from the HP model, need to test to make sure this doesn't break anything.  All the code appears to default to 0 if it is null.
2021-03-16 12:24:29 -04:00
CK
c586ae8c80
Merge pull request #170 from unrealkakeman89/Develop-VJ
Power point upgrades are finally done
2021-03-13 13:26:11 -05:00
supervj
9b63457ae1 Fine tune migration concurrency
Fix migration concurrency so that it goes in an orderly process.  This ensures that big migrations will not crash.
2021-03-12 16:47:24 -05:00
supervj
a99faad77c Code Cleanup and fix multiple migrations
see above
2021-03-11 01:30:03 -05:00
TJ
893c7b9d5e Async all the way down 2021-03-10 13:50:17 -06:00
supervj
2160508076 Update migration.js
more attempts at banging my head against the wall to no avail...  shortcut out if dataVersion matches though...
2021-03-09 23:37:20 -05:00
supervj
79e3286308 Update migration.js
Trying to add async to the entire migration function chain for owned actor entities s owe can use getUuid since it returns a promise.
2021-03-06 06:51:50 -05:00
ellimist25
9dfa851016 Merge remote-tracking branch 'upstream/Develop' 2021-03-05 21:49:19 -05:00
supervj
b9cf140e33 Update migration.js
Try to get items to work, just need to get the flag to work
2021-03-04 22:07:44 -05:00
supervj
d48a25bf2f Revert 000 Series Droid and update migration
- Reverted UUID for 000 Series Protocol Droid.
- Updated NPC migration to check for dataVersion flag and shortcut out
- Attempted to add Item migration like NPC migration to fix power concentration and prerequisites, but it fails on compendium pull
2021-03-03 00:58:56 -05:00
baccalla
4594cbea06 init i18n FR + Fix some localise not set 2021-02-27 21:05:42 +01:00
TJ
2b723d051b Merge branch 'Develop-VJ' into cyr-power-point-ui 2021-02-23 22:43:23 -06:00
TJ
6ca9b0c7b4 Merge branch 'master' into cyr-power-point-ui 2021-02-23 22:42:20 -06:00
TJ
1c58a1b813 Update migration.js 2021-02-23 17:49:07 -06:00
supervj
311854408c Update migration.js
thought this would work, but didn't?  Getting a reserved word error
2021-02-23 07:08:21 -05:00
supervj
6a7c65eefb Update migration.js
Changed to use newer createEmbeddedEntity (createOwnedItem will be deprecated in 0.8.x) and push the entire newPowers array at the same time.  Still saying createEmbeddedEntity doesn't exist on actor.
2021-02-23 07:00:43 -05:00
supervj
6f2e9cdab2 Update Migration
Everything but powers and flags are working
2021-02-23 01:17:30 -05:00
supervj
e43444bc48 Adding flag to config.js for dataVersion control
Adding flag for dataVersion control

** added shell of migration.js for updating NPC Data.  This is only being pushed for visibility by people other than me and is by no means done or tested and probably very broken.

Line 159 commented out to keep from running broken function.  Uncomment for testing.

Broken _updateNPCData from lines 242 to 289
2021-02-22 16:43:41 -05:00
supervj
6e37fd8306 Update migration.js
Found a case where power migration could be skipped if the actor had no items
2021-02-18 14:32:54 -05:00
supervj
7b71009fd7 Fix NPC power points
Ignore power point calculation for NPCs which are hardcoded in.
2021-02-18 10:14:06 -05:00
supervj
cbd9e7f94b Update Monsters and more casting styles
Finished adding monster values

Added innate and dual powercasting modes

Innate powercasters do not use force points or slots when casting powers
2021-02-18 00:24:02 -05:00
TJ
d716d514df Fix add buttons on powers sheet 2021-02-16 14:40:06 -06:00
supervj
7fc983b042 Update to help NPCs work better
This requires all the monsters to be updated with force powers, powerForce/TechLevels, and powercasting "classes"
2021-02-16 02:15:39 -05:00
TJ
58a4033bf1 Merge branch 'Develop-VJ' into cyr-power-point-ui 2021-02-15 14:01:39 -06:00
TJ
74414e2257 Fixes for NPC display 2021-02-15 14:01:08 -06:00
supervj
e73c04b9f5 Update entity.js
whoops again :)
2021-02-15 14:05:45 -05:00
supervj
a893212b22 Change to Fix migration power lockdown
I think this will migrate every value over to have 1000 casts, which will then get reset to the lower of the value or character max once the actor is loaded.  Essentially pushing a long rest for power casting limits upon migration.
2021-02-15 09:15:36 -05:00
TJ
55f084592c Smaller font size 2021-02-14 21:59:51 -06:00
TJ
b56e652192 Merge branch 'Develop-VJ' into cyr-power-point-ui 2021-02-11 16:01:45 -06:00
supervj
4599639237 Fix Tech point consumption
whoops again...
2021-02-11 15:50:38 -05:00
supervj
c82a4331a5 Calculate Powers Known
added ability to calculate how many force/tech powers are known
2021-02-11 10:29:35 -05:00
supervj
aff4dda77f Fix Point usage
it seems to work now.  It really helps having a live data tree to look at.
2021-02-11 10:01:43 -05:00
supervj
1b0a70becb Update migration.js
whoops
2021-02-11 09:47:46 -05:00
supervj
54d04f0642 Fix Long Rest to split force and tech powers
Updated  long rest functionality to handle the force tech split
2021-02-11 07:04:13 -05:00
TJ
1ce2e92ccd Fully split force and tech powers into their own sheets 2021-02-10 18:39:36 -06:00
TJ
70d399e8f6 Merge branch 'Develop-VJ' into cyr-power-point-ui 2021-02-10 16:17:14 -06:00
TJ
8c6723a035 Start splitting force/tech sheets 2021-02-10 16:16:47 -06:00
supervj
fb73cdfc08 Split Force and Tech Power Limits
Split force and tech power limits.  Didn't test, may be broken.

Needs separate tab for force vs tech.  Still need to tally number of powers known
2021-02-10 15:41:02 -05:00
supervj
fa5dc07869 Have Powers consume Force and Tech Points
Add the ability for powers to automatically deduct force and tech points
2021-02-10 02:32:08 -05:00
supervj
ad50d1549f Powercasting works based on school of power
Updated power items to automatically change mod used when set to powercasting
2021-02-09 23:47:32 -05:00
supervj
b5ecde7f0c Added short and long rest and Temp points
Updated Force and Tech Points on Short and Long Rests along with Temporary points.

Also added class powercasting to migration
2021-02-09 02:14:10 -05:00
Kakeman89
7c4807ddc0 Update entity.js 2021-02-05 10:01:35 -05:00
supervj
932c96ba4a Update Actor Entity
minor bug fixes and add points and powers known
2021-02-02 23:46:11 -05:00
supervj
1fda73a36e Update migration.js
add in new power structures
2021-02-02 21:42:15 -05:00
supervj
ac198745f1 Fix for Power DC's
beginning attempt at storing power DC's
2021-02-01 12:33:51 -05:00
supervj
e5df96b9b6 Power overhaul part 2
I think this will calculate the level limits for single and multiclassed characters in _computePowercastingProgression of module\actor\entity.js
2021-01-30 18:05:01 -05:00
supervj
6b239d5d6b Partial update to entity.js
pushing a partial code section for feedback so far
2021-01-27 01:35:50 -05:00