mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-22 14:38:03 +01:00
Fix damage pet
This commit is contained in:
parent
a91d613d72
commit
baeca40a4c
3 changed files with 19 additions and 2 deletions
17
src/character/migrations/0042_alter_pet_damage.py
Normal file
17
src/character/migrations/0042_alter_pet_damage.py
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Generated by Django 4.1.7 on 2023-03-09 18:05
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [
|
||||||
|
("character", "0041_pet"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="pet",
|
||||||
|
name="damage",
|
||||||
|
field=models.CharField(max_length=20, verbose_name="dégâts"),
|
||||||
|
),
|
||||||
|
]
|
|
@ -1 +1 @@
|
||||||
0041_pet
|
0042_alter_pet_damage
|
||||||
|
|
|
@ -26,7 +26,7 @@ class Pet(models.Model):
|
||||||
)
|
)
|
||||||
modifier_wisdom = models.IntegerField(verbose_name="modificateur sagesse")
|
modifier_wisdom = models.IntegerField(verbose_name="modificateur sagesse")
|
||||||
modifier_charisma = models.IntegerField(verbose_name="modificateur charisme")
|
modifier_charisma = models.IntegerField(verbose_name="modificateur charisme")
|
||||||
damage = models.PositiveIntegerField(verbose_name="dégâts")
|
damage = models.CharField(max_length=20, verbose_name="dégâts")
|
||||||
initiative = models.PositiveIntegerField(verbose_name="initiative")
|
initiative = models.PositiveIntegerField(verbose_name="initiative")
|
||||||
defense = models.PositiveIntegerField(verbose_name="défense")
|
defense = models.PositiveIntegerField(verbose_name="défense")
|
||||||
attack = models.PositiveIntegerField(verbose_name="attaque")
|
attack = models.PositiveIntegerField(verbose_name="attaque")
|
||||||
|
|
Loading…
Reference in a new issue