mirror of https://github.com/Mai-with-u/MaiBot.git
fix: 修改个体特征初始化中的体重类型为double
parent
b79bb4b3c3
commit
4da59068ab
|
|
@ -1,4 +1,6 @@
|
|||
from typing import Optional
|
||||
|
||||
from numpy import double
|
||||
from .personality import Personality
|
||||
from .identity import Identity
|
||||
import random
|
||||
|
|
@ -46,7 +48,7 @@ class Individuality:
|
|||
personality_sides: list,
|
||||
identity_detail: list,
|
||||
height: int,
|
||||
weight: int,
|
||||
weight: double,
|
||||
age: int,
|
||||
gender: str,
|
||||
appearance: str,
|
||||
|
|
|
|||
Loading…
Reference in New Issue