@@ -1188,7 +1188,7 @@ enum class PersonaType(
11881188 .toString()
11891189 },
11901190
1191- FLAMINGO (0.05 ) {
1191+ FLAMINGO (0.05 , personaEvolution = PersonaEvolution (weight = 0.9 , type = PersonaEvolutionType . FLAMINGO ) ) {
11921192 override fun loadSvg (name : String , animationId : Long , level : Long , mode : Mode ): String {
11931193 return flamingoSvg.replace(" *{position}" , act(animationId))
11941194 .replace(" *{id}" , animationId.toString())
@@ -1212,6 +1212,30 @@ enum class PersonaType(
12121212 }
12131213 },
12141214
1215+ FLAMINGO_WHITE (weight = 0.0 , grade = PersonaGrade .EVOLUTION , personaEvolution = PersonaEvolution (weight = 0.1 , type = PersonaEvolutionType .FLAMINGO )) {
1216+ override fun loadSvg (name : String , animationId : Long , level : Long , mode : Mode ): String {
1217+ return flamingoWhiteSvg.replace(" *{position}" , act(animationId))
1218+ .replace(" *{id}" , animationId.toString())
1219+ .replace(" *{level}" , level.toSvg(14.0 , 2.0 ))
1220+ .replace(
1221+ " *{levelx}" ,
1222+ (- 1 * (level.toString().length)).toString()
1223+ )
1224+ .replace(" *{username}" , name.toSvg(14.0 , 25.0 ))
1225+ .replace(
1226+ " *{usernamex}" ,
1227+ (32 + (- 3 * name.length)).toString()
1228+ )
1229+ }
1230+
1231+ override fun act (id : Long , flippedWidth : Double ): String {
1232+ val x = Random .nextInt(25 , 75 )
1233+ val y = Random .nextInt(0 , 50 )
1234+ val scale = 1
1235+ return " translate(${x} %, ${y} %) scaleX($scale )"
1236+ }
1237+ },
1238+
12151239 TEN_MM (0.000 ) {
12161240 override fun loadSvg (name : String , animationId : Long , level : Long , mode : Mode ): String {
12171241 return tenmmSvg.replace(" *{act}" , act(animationId))
0 commit comments