-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'staging' into 486-add-subcategory
- Loading branch information
Showing
41 changed files
with
264,414 additions
and
39,400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 3.2.20 on 2024-09-14 13:31 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api_v2', '0113_spell_classes'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='creatureaction', | ||
name='uses_param', | ||
field=models.SmallIntegerField(blank=True, help_text='The parameter X for if the action is limited.', null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Generated by Django 3.2.20 on 2024-09-14 13:46 | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api_v2', '0114_alter_creatureaction_uses_param'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='creatureaction', | ||
name='uses_type', | ||
field=models.CharField(blank=True, choices=[('PER_DAY', 'X/Day'), ('RECHARGE_ON_ROLL', 'Recharge X-6'), ('RECHARGE_AFTER_REST', 'Recharge after a Short or Long rest')], help_text='How use of the action is limited, if at all.', max_length=20, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='damage_bonus', | ||
field=models.SmallIntegerField(blank=True, help_text='Damage roll modifier.', null=True, validators=[django.core.validators.MinValueValidator(-5), django.core.validators.MaxValueValidator(20)]), | ||
), | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='extra_damage_bonus', | ||
field=models.SmallIntegerField(blank=True, help_text='Damage roll modifier.', null=True, validators=[django.core.validators.MinValueValidator(-5), django.core.validators.MaxValueValidator(20)]), | ||
), | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='long_range_ft', | ||
field=models.SmallIntegerField(blank=True, help_text='Long range for ranged attacks, in feet.', null=True, validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='range_ft', | ||
field=models.SmallIntegerField(blank=True, help_text='Normal range for ranged attacks, in feet.', null=True, validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='reach_ft', | ||
field=models.SmallIntegerField(blank=True, help_text='Reach for melee attacks, in feet.', null=True, validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Generated by Django 3.2.20 on 2024-09-14 13:47 | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api_v2', '0115_auto_20240914_1346'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='damage_die_count', | ||
field=models.SmallIntegerField(blank=True, help_text='The number of dice to roll for damage.', null=True, validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='damage_die_type', | ||
field=models.CharField(blank=True, choices=[('D4', 'd4'), ('D6', 'd6'), ('D8', 'd8'), ('D10', 'd10'), ('D12', 'd12'), ('D20', 'd20')], help_text='What kind of die to roll for damage.', max_length=20, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='extra_damage_die_count', | ||
field=models.SmallIntegerField(blank=True, help_text='The number of dice to roll for damage.', null=True, validators=[django.core.validators.MinValueValidator(0)]), | ||
), | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='extra_damage_die_type', | ||
field=models.CharField(blank=True, choices=[('D4', 'd4'), ('D6', 'd6'), ('D8', 'd8'), ('D10', 'd10'), ('D12', 'd12'), ('D20', 'd20')], help_text='What kind of die to roll for damage.', max_length=20, null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Generated by Django 3.2.20 on 2024-09-22 17:08 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api_v2', '0116_auto_20240914_1347'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='creaturetrait', | ||
name='id', | ||
), | ||
migrations.AddField( | ||
model_name='creaturetrait', | ||
name='key', | ||
field=models.CharField(default='a', help_text='Unique key for the Document.', max_length=100, primary_key=True, serialize=False), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='damage_type', | ||
field=models.ForeignKey(blank=True, help_text='What kind of damage this attack deals', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='+', to='api_v2.damagetype'), | ||
), | ||
migrations.AlterField( | ||
model_name='creatureactionattack', | ||
name='extra_damage_type', | ||
field=models.ForeignKey(blank=True, help_text='What kind of extra damage this attack deals', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='+', to='api_v2.damagetype'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 3.2.20 on 2024-09-22 19:37 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api_v2', '0117_auto_20240922_1708'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='creatureaction', | ||
name='form_condition', | ||
field=models.CharField(blank=True, default=None, help_text='Description of form-based conditions for this action.', max_length=100, null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.