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 typing import Optional
|
||||||
|
|
||||||
|
from numpy import double
|
||||||
from .personality import Personality
|
from .personality import Personality
|
||||||
from .identity import Identity
|
from .identity import Identity
|
||||||
import random
|
import random
|
||||||
|
|
@ -46,7 +48,7 @@ class Individuality:
|
||||||
personality_sides: list,
|
personality_sides: list,
|
||||||
identity_detail: list,
|
identity_detail: list,
|
||||||
height: int,
|
height: int,
|
||||||
weight: int,
|
weight: double,
|
||||||
age: int,
|
age: int,
|
||||||
gender: str,
|
gender: str,
|
||||||
appearance: str,
|
appearance: str,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue