Compare commits

...

2 Commits

9 changed files with 392 additions and 119 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -51,6 +51,7 @@ const (
SkillYUMMYSPEED SkillID = 100281 // YUMMY☆SPEED!
SkillBlueRoseCloser SkillID = 100301 // Blue Rose Closer
SkillUma2 SkillID = 100321 // U=ma2
SkillShootingStarofDioskouroi SkillID = 100331 // Shooting Star of Dioskouroi
SkillOurTickettoWin SkillID = 100351 // Our Ticket to Win!
SkillSchwarzesSchwert SkillID = 100371 // Schwarzes Schwert
SkillLookatCurren SkillID = 100381 // #LookatCurren
@@ -488,6 +489,7 @@ const (
SkillYUMMYSPEEDInherit SkillID = 900281 // YUMMY☆SPEED!
SkillBlueRoseCloserInherit SkillID = 900301 // Blue Rose Closer
SkillUma2Inherit SkillID = 900321 // U=ma2
SkillShootingStarofDioskouroiInherit SkillID = 900331 // Shooting Star of Dioskouroi
SkillOurTickettoWinInherit SkillID = 900351 // Our Ticket to Win!
SkillSchwarzesSchwertInherit SkillID = 900371 // Schwarzes Schwert
SkillLookatCurrenInherit SkillID = 900381 // #LookatCurren
@@ -575,6 +577,7 @@ var OrderedSkills = [...]SkillID{
SkillYUMMYSPEED,
SkillBlueRoseCloser,
SkillUma2,
SkillShootingStarofDioskouroi,
SkillOurTickettoWin,
SkillSchwarzesSchwert,
SkillLookatCurren,
@@ -1012,6 +1015,7 @@ var OrderedSkills = [...]SkillID{
SkillYUMMYSPEEDInherit,
SkillBlueRoseCloserInherit,
SkillUma2Inherit,
SkillShootingStarofDioskouroiInherit,
SkillOurTickettoWinInherit,
SkillSchwarzesSchwertInherit,
SkillLookatCurrenInherit,
@@ -2092,6 +2096,37 @@ var AllSkills = map[SkillID]Skill{
UniqueOwner: "[Tach-nology] Agnes Tachyon",
IconID: 20023,
},
SkillShootingStarofDioskouroi: {
ID: 100331,
Name: "Shooting Star of Dioskouroi",
Description: "Increase velocity with guidance from the stars when far from the lead on the final straight. If positioned around the very back, greatly increase velocity instead.",
Group: 10033,
Rarity: 5,
GroupRate: 1,
GradeValue: 340,
Activations: []Activation{
{
Condition: "is_finalcorner==1&corner==0&distance_diff_top>=5&order_rate<80",
Duration: 50000,
DurScale: 1,
Cooldown: 5000000,
Abilities: []Ability{
{Type: 27, ValueUsage: 1, Value: 3500, Target: 1, TargetValue: 0},
},
},
{
Condition: "is_finalcorner==1&corner==0&distance_diff_top>=5&order_rate>=80",
Duration: 50000,
DurScale: 1,
Cooldown: 5000000,
Abilities: []Ability{
{Type: 27, ValueUsage: 1, Value: 4500, Target: 1, TargetValue: 0},
},
},
},
UniqueOwner: "[Starry Nocturne] Admire Vega",
IconID: 20013,
},
SkillOurTickettoWin: {
ID: 100351,
Name: "Our Ticket to Win!",
@@ -11995,6 +12030,39 @@ var AllSkills = map[SkillID]Skill{
SPCost: 200,
IconID: 20021,
},
SkillShootingStarofDioskouroiInherit: {
ID: 900331,
Name: "Shooting Star of Dioskouroi" + " (Inherited)",
Description: "Slightly increase velocity when far from the lead on the final straight. If positioned around the very back, moderately increase velocity instead.",
Group: 10033,
Rarity: 1,
GroupRate: 2,
GradeValue: 180,
WitCheck: true,
Activations: []Activation{
{
Condition: "is_finalcorner==1&corner==0&distance_diff_top>=5&order_rate<80",
Duration: 30000,
DurScale: 1,
Cooldown: 5000000,
Abilities: []Ability{
{Type: 27, ValueUsage: 1, Value: 1500, Target: 1, TargetValue: 0},
},
},
{
Condition: "is_finalcorner==1&corner==0&distance_diff_top>=5&order_rate>=80",
Duration: 30000,
DurScale: 1,
Cooldown: 5000000,
Abilities: []Ability{
{Type: 27, ValueUsage: 1, Value: 2500, Target: 1, TargetValue: 0},
},
},
},
UniqueOwner: "[Starry Nocturne] Admire Vega",
SPCost: 200,
IconID: 20011,
},
SkillOurTickettoWinInherit: {
ID: 900351,
Name: "Our Ticket to Win!" + " (Inherited)",
@@ -12974,6 +13042,7 @@ var SkillNameToID = map[string]SkillID{
"YUMMY☆SPEED!": 100281,
"Blue Rose Closer": 100301,
"U=ma2": 100321,
"Shooting Star of Dioskouroi": 100331,
"Our Ticket to Win!": 100351,
"Schwarzes Schwert": 100371,
"#LookatCurren": 100381,
@@ -13411,6 +13480,7 @@ var SkillNameToID = map[string]SkillID{
"YUMMY☆SPEED!" + " (Inherited)": 900281,
"Blue Rose Closer" + " (Inherited)": 900301,
"U=ma2" + " (Inherited)": 900321,
"Shooting Star of Dioskouroi" + " (Inherited)": 900331,
"Our Ticket to Win!" + " (Inherited)": 900351,
"Schwarzes Schwert" + " (Inherited)": 900371,
"#LookatCurren" + " (Inherited)": 900381,
@@ -13498,6 +13568,7 @@ var SkillGroups = map[int32][4]SkillID{
10028: {SkillYUMMYSPEED, SkillYUMMYSPEEDInherit},
10030: {SkillBlueRoseCloser, SkillBlueRoseCloserInherit},
10032: {SkillUma2, SkillUma2Inherit},
10033: {SkillShootingStarofDioskouroi, SkillShootingStarofDioskouroiInherit},
10035: {SkillOurTickettoWin, SkillOurTickettoWinInherit},
10037: {SkillSchwarzesSchwert, SkillSchwarzesSchwertInherit},
10038: {SkillLookatCurren, SkillLookatCurrenInherit},

View File

@@ -12,8 +12,8 @@ import horse/movement
pub import horse/skill
extern create-id-table(): vector<int>
c inline "int32_t arr[] = {10071,10081,10091,10111,10141,10181,10241,10271,10321,10351,10411,10451,10521,10561,10601,10611,100011,100021,100031,100041,100051,100061,100071,100081,100091,100101,100111,100121,100131,100141,100151,100161,100171,100181,100191,100201,100211,100221,100231,100241,100251,100261,100271,100281,100301,100321,100351,100371,100381,100391,100401,100411,100451,100461,100481,100501,100521,100561,100581,100591,100601,100611,100691,100711,110011,110031,110041,110061,110111,110131,110141,110151,110171,110181,110231,110241,110261,110301,110371,110401,110451,110521,110561,200011,200012,200013,200021,200022,200023,200031,200032,200033,200041,200042,200043,200051,200052,200053,200061,200062,200063,200064,200071,200072,200073,200081,200082,200083,200091,200092,200093,200101,200102,200103,200111,200112,200113,200121,200122,200123,200131,200132,200133,200141,200142,200143,200151,200152,200153,200161,200162,200163,200171,200172,200173,200174,200181,200182,200183,200191,200192,200193,200194,200201,200202,200203,200211,200212,200221,200222,200231,200232,200233,200241,200242,200251,200252,200253,200261,200262,200263,200271,200272,200281,200282,200283,200291,200292,200301,200302,200311,200321,200331,200332,200333,200341,200342,200343,200351,200352,200353,200361,200362,200371,200372,200381,200382,200391,200401,200411,200421,200431,200432,200433,200441,200442,200451,200452,200461,200462,200471,200472,200481,200482,200491,200492,200501,200502,200511,200512,200521,200531,200532,200541,200542,200551,200552,200561,200562,200571,200572,200581,200582,200591,200592,200601,200602,200611,200612,200621,200622,200631,200632,200641,200642,200651,200652,200662,200671,200672,200681,200682,200691,200692,200701,200702,200711,200712,200721,200722,200731,200732,200741,200742,200751,200752,200761,200762,200771,200772,200781,200791,200801,200811,200821,200831,200841,200851,200861,200871,200881,200891,200901,200911,200921,200931,200941,200951,200952,200953,200961,200962,200971,200972,200981,200982,200991,200992,201001,201002,201011,201012,201021,201022,201031,201032,201041,201042,201051,201052,201061,201062,201071,201072,201081,201082,201091,201092,201101,201102,201103,201111,201112,201121,201122,201131,201132,201141,201142,201151,201152,201161,201162,201171,201172,201181,201182,201191,201192,201201,201202,201211,201212,201221,201222,201231,201232,201241,201242,201251,201252,201261,201262,201272,201281,201282,201291,201292,201302,201311,201312,201321,201322,201331,201332,201341,201342,201351,201352,201361,201362,201371,201372,201381,201382,201391,201392,201401,201402,201411,201412,201421,201422,201431,201432,201441,201442,201451,201452,201461,201462,201471,201472,201481,201482,201491,201492,201501,201502,201511,201512,201521,201522,201531,201532,201541,201542,201551,201552,201561,201562,201571,201581,201591,201592,201601,201611,201612,201621,201631,201641,201651,201661,201671,201672,201681,201682,201691,201692,201701,201702,201801,201902,202002,202011,202012,202021,202022,202031,202032,202041,202042,202051,210011,210012,210021,210022,210031,210032,210041,210042,210051,210052,300011,300021,300031,300041,300051,300061,300071,300081,300091,300101,900011,900021,900031,900041,900051,900061,900071,900081,900091,900101,900111,900121,900131,900141,900151,900161,900171,900181,900191,900201,900211,900221,900231,900241,900251,900261,900271,900281,900301,900321,900351,900371,900381,900391,900401,900411,900451,900461,900481,900501,900521,900561,900581,900591,900601,900611,900691,900711,910011,910031,910041,910061,910111,910131,910141,910151,910171,910181,910231,910241,910261,910301,910371,910401,910451,910521,910561,1000011,};\nkk_vector_from_cint32array(arr, (kk_ssize_t)521, kk_context())"
js inline "[10071,10081,10091,10111,10141,10181,10241,10271,10321,10351,10411,10451,10521,10561,10601,10611,100011,100021,100031,100041,100051,100061,100071,100081,100091,100101,100111,100121,100131,100141,100151,100161,100171,100181,100191,100201,100211,100221,100231,100241,100251,100261,100271,100281,100301,100321,100351,100371,100381,100391,100401,100411,100451,100461,100481,100501,100521,100561,100581,100591,100601,100611,100691,100711,110011,110031,110041,110061,110111,110131,110141,110151,110171,110181,110231,110241,110261,110301,110371,110401,110451,110521,110561,200011,200012,200013,200021,200022,200023,200031,200032,200033,200041,200042,200043,200051,200052,200053,200061,200062,200063,200064,200071,200072,200073,200081,200082,200083,200091,200092,200093,200101,200102,200103,200111,200112,200113,200121,200122,200123,200131,200132,200133,200141,200142,200143,200151,200152,200153,200161,200162,200163,200171,200172,200173,200174,200181,200182,200183,200191,200192,200193,200194,200201,200202,200203,200211,200212,200221,200222,200231,200232,200233,200241,200242,200251,200252,200253,200261,200262,200263,200271,200272,200281,200282,200283,200291,200292,200301,200302,200311,200321,200331,200332,200333,200341,200342,200343,200351,200352,200353,200361,200362,200371,200372,200381,200382,200391,200401,200411,200421,200431,200432,200433,200441,200442,200451,200452,200461,200462,200471,200472,200481,200482,200491,200492,200501,200502,200511,200512,200521,200531,200532,200541,200542,200551,200552,200561,200562,200571,200572,200581,200582,200591,200592,200601,200602,200611,200612,200621,200622,200631,200632,200641,200642,200651,200652,200662,200671,200672,200681,200682,200691,200692,200701,200702,200711,200712,200721,200722,200731,200732,200741,200742,200751,200752,200761,200762,200771,200772,200781,200791,200801,200811,200821,200831,200841,200851,200861,200871,200881,200891,200901,200911,200921,200931,200941,200951,200952,200953,200961,200962,200971,200972,200981,200982,200991,200992,201001,201002,201011,201012,201021,201022,201031,201032,201041,201042,201051,201052,201061,201062,201071,201072,201081,201082,201091,201092,201101,201102,201103,201111,201112,201121,201122,201131,201132,201141,201142,201151,201152,201161,201162,201171,201172,201181,201182,201191,201192,201201,201202,201211,201212,201221,201222,201231,201232,201241,201242,201251,201252,201261,201262,201272,201281,201282,201291,201292,201302,201311,201312,201321,201322,201331,201332,201341,201342,201351,201352,201361,201362,201371,201372,201381,201382,201391,201392,201401,201402,201411,201412,201421,201422,201431,201432,201441,201442,201451,201452,201461,201462,201471,201472,201481,201482,201491,201492,201501,201502,201511,201512,201521,201522,201531,201532,201541,201542,201551,201552,201561,201562,201571,201581,201591,201592,201601,201611,201612,201621,201631,201641,201651,201661,201671,201672,201681,201682,201691,201692,201701,201702,201801,201902,202002,202011,202012,202021,202022,202031,202032,202041,202042,202051,210011,210012,210021,210022,210031,210032,210041,210042,210051,210052,300011,300021,300031,300041,300051,300061,300071,300081,300091,300101,900011,900021,900031,900041,900051,900061,900071,900081,900091,900101,900111,900121,900131,900141,900151,900161,900171,900181,900191,900201,900211,900221,900231,900241,900251,900261,900271,900281,900301,900321,900351,900371,900381,900391,900401,900411,900451,900461,900481,900501,900521,900561,900581,900591,900601,900611,900691,900711,910011,910031,910041,910061,910111,910131,910141,910151,910171,910181,910231,910241,910261,910301,910371,910401,910451,910521,910561,1000011,]"
c inline "int32_t arr[] = {10071,10081,10091,10111,10141,10181,10241,10271,10321,10351,10411,10451,10521,10561,10601,10611,100011,100021,100031,100041,100051,100061,100071,100081,100091,100101,100111,100121,100131,100141,100151,100161,100171,100181,100191,100201,100211,100221,100231,100241,100251,100261,100271,100281,100301,100321,100331,100351,100371,100381,100391,100401,100411,100451,100461,100481,100501,100521,100561,100581,100591,100601,100611,100691,100711,110011,110031,110041,110061,110111,110131,110141,110151,110171,110181,110231,110241,110261,110301,110371,110401,110451,110521,110561,200011,200012,200013,200021,200022,200023,200031,200032,200033,200041,200042,200043,200051,200052,200053,200061,200062,200063,200064,200071,200072,200073,200081,200082,200083,200091,200092,200093,200101,200102,200103,200111,200112,200113,200121,200122,200123,200131,200132,200133,200141,200142,200143,200151,200152,200153,200161,200162,200163,200171,200172,200173,200174,200181,200182,200183,200191,200192,200193,200194,200201,200202,200203,200211,200212,200221,200222,200231,200232,200233,200241,200242,200251,200252,200253,200261,200262,200263,200271,200272,200281,200282,200283,200291,200292,200301,200302,200311,200321,200331,200332,200333,200341,200342,200343,200351,200352,200353,200361,200362,200371,200372,200381,200382,200391,200401,200411,200421,200431,200432,200433,200441,200442,200451,200452,200461,200462,200471,200472,200481,200482,200491,200492,200501,200502,200511,200512,200521,200531,200532,200541,200542,200551,200552,200561,200562,200571,200572,200581,200582,200591,200592,200601,200602,200611,200612,200621,200622,200631,200632,200641,200642,200651,200652,200662,200671,200672,200681,200682,200691,200692,200701,200702,200711,200712,200721,200722,200731,200732,200741,200742,200751,200752,200761,200762,200771,200772,200781,200791,200801,200811,200821,200831,200841,200851,200861,200871,200881,200891,200901,200911,200921,200931,200941,200951,200952,200953,200961,200962,200971,200972,200981,200982,200991,200992,201001,201002,201011,201012,201021,201022,201031,201032,201041,201042,201051,201052,201061,201062,201071,201072,201081,201082,201091,201092,201101,201102,201103,201111,201112,201121,201122,201131,201132,201141,201142,201151,201152,201161,201162,201171,201172,201181,201182,201191,201192,201201,201202,201211,201212,201221,201222,201231,201232,201241,201242,201251,201252,201261,201262,201272,201281,201282,201291,201292,201302,201311,201312,201321,201322,201331,201332,201341,201342,201351,201352,201361,201362,201371,201372,201381,201382,201391,201392,201401,201402,201411,201412,201421,201422,201431,201432,201441,201442,201451,201452,201461,201462,201471,201472,201481,201482,201491,201492,201501,201502,201511,201512,201521,201522,201531,201532,201541,201542,201551,201552,201561,201562,201571,201581,201591,201592,201601,201611,201612,201621,201631,201641,201651,201661,201671,201672,201681,201682,201691,201692,201701,201702,201801,201902,202002,202011,202012,202021,202022,202031,202032,202041,202042,202051,210011,210012,210021,210022,210031,210032,210041,210042,210051,210052,300011,300021,300031,300041,300051,300061,300071,300081,300091,300101,900011,900021,900031,900041,900051,900061,900071,900081,900091,900101,900111,900121,900131,900141,900151,900161,900171,900181,900191,900201,900211,900221,900231,900241,900251,900261,900271,900281,900301,900321,900331,900351,900371,900381,900391,900401,900411,900451,900461,900481,900501,900521,900561,900581,900591,900601,900611,900691,900711,910011,910031,910041,910061,910111,910131,910141,910151,910171,910181,910231,910241,910261,910301,910371,910401,910451,910521,910561,1000011,};\nkk_vector_from_cint32array(arr, (kk_ssize_t)523, kk_context())"
js inline "[10071,10081,10091,10111,10141,10181,10241,10271,10321,10351,10411,10451,10521,10561,10601,10611,100011,100021,100031,100041,100051,100061,100071,100081,100091,100101,100111,100121,100131,100141,100151,100161,100171,100181,100191,100201,100211,100221,100231,100241,100251,100261,100271,100281,100301,100321,100331,100351,100371,100381,100391,100401,100411,100451,100461,100481,100501,100521,100561,100581,100591,100601,100611,100691,100711,110011,110031,110041,110061,110111,110131,110141,110151,110171,110181,110231,110241,110261,110301,110371,110401,110451,110521,110561,200011,200012,200013,200021,200022,200023,200031,200032,200033,200041,200042,200043,200051,200052,200053,200061,200062,200063,200064,200071,200072,200073,200081,200082,200083,200091,200092,200093,200101,200102,200103,200111,200112,200113,200121,200122,200123,200131,200132,200133,200141,200142,200143,200151,200152,200153,200161,200162,200163,200171,200172,200173,200174,200181,200182,200183,200191,200192,200193,200194,200201,200202,200203,200211,200212,200221,200222,200231,200232,200233,200241,200242,200251,200252,200253,200261,200262,200263,200271,200272,200281,200282,200283,200291,200292,200301,200302,200311,200321,200331,200332,200333,200341,200342,200343,200351,200352,200353,200361,200362,200371,200372,200381,200382,200391,200401,200411,200421,200431,200432,200433,200441,200442,200451,200452,200461,200462,200471,200472,200481,200482,200491,200492,200501,200502,200511,200512,200521,200531,200532,200541,200542,200551,200552,200561,200562,200571,200572,200581,200582,200591,200592,200601,200602,200611,200612,200621,200622,200631,200632,200641,200642,200651,200652,200662,200671,200672,200681,200682,200691,200692,200701,200702,200711,200712,200721,200722,200731,200732,200741,200742,200751,200752,200761,200762,200771,200772,200781,200791,200801,200811,200821,200831,200841,200851,200861,200871,200881,200891,200901,200911,200921,200931,200941,200951,200952,200953,200961,200962,200971,200972,200981,200982,200991,200992,201001,201002,201011,201012,201021,201022,201031,201032,201041,201042,201051,201052,201061,201062,201071,201072,201081,201082,201091,201092,201101,201102,201103,201111,201112,201121,201122,201131,201132,201141,201142,201151,201152,201161,201162,201171,201172,201181,201182,201191,201192,201201,201202,201211,201212,201221,201222,201231,201232,201241,201242,201251,201252,201261,201262,201272,201281,201282,201291,201292,201302,201311,201312,201321,201322,201331,201332,201341,201342,201351,201352,201361,201362,201371,201372,201381,201382,201391,201392,201401,201402,201411,201412,201421,201422,201431,201432,201441,201442,201451,201452,201461,201462,201471,201472,201481,201482,201491,201492,201501,201502,201511,201512,201521,201522,201531,201532,201541,201542,201551,201552,201561,201562,201571,201581,201591,201592,201601,201611,201612,201621,201631,201641,201651,201661,201671,201672,201681,201682,201691,201692,201701,201702,201801,201902,202002,202011,202012,202021,202022,202031,202032,202041,202042,202051,210011,210012,210021,210022,210031,210032,210041,210042,210051,210052,300011,300021,300031,300041,300051,300061,300071,300081,300091,300101,900011,900021,900031,900041,900051,900061,900071,900081,900091,900101,900111,900121,900131,900141,900151,900161,900171,900181,900191,900201,900211,900221,900231,900241,900251,900261,900271,900281,900301,900321,900331,900351,900371,900381,900391,900401,900411,900451,900461,900481,900501,900521,900561,900581,900591,900601,900611,900691,900711,910011,910031,910041,910061,910111,910131,910141,910151,910171,910181,910231,910241,910261,910301,910371,910401,910451,910521,910561,1000011,]"
// Vector of all skill ID values in order for easy iterating.
pub val all = once(create-id-table)
@@ -79,6 +79,7 @@ pub fun show(s: skill-id): string
100281 -> "YUMMY☆SPEED!"
100301 -> "Blue Rose Closer"
100321 -> "U=ma2"
100331 -> "Shooting Star of Dioskouroi"
100351 -> "Our Ticket to Win!"
100371 -> "Schwarzes Schwert"
100381 -> "#LookatCurren"
@@ -516,6 +517,7 @@ pub fun show(s: skill-id): string
900281 -> "YUMMY☆SPEED!" ++ " (Inherited)"
900301 -> "Blue Rose Closer" ++ " (Inherited)"
900321 -> "U=ma2" ++ " (Inherited)"
900331 -> "Shooting Star of Dioskouroi" ++ " (Inherited)"
900351 -> "Our Ticket to Win!" ++ " (Inherited)"
900371 -> "Schwarzes Schwert" ++ " (Inherited)"
900381 -> "#LookatCurren" ++ " (Inherited)"
@@ -606,6 +608,7 @@ pub fun description(s: skill-id): string
100281 -> "Kick forward hard with renewed vigor when starting to get tired while well-positioned halfway through the race."
100301 -> "Increase velocity with strong willpower on the final straight after passing another runner in the front part of the pack on the final corner or later."
100321 -> "Recover endurance and moderately increase velocity for a moderate duration when sitting off the pace on a corner in the second half of the race."
100331 -> "Increase velocity with guidance from the stars when far from the lead on the final straight. If positioned around the very back, greatly increase velocity instead."
100351 -> "Increase velocity with winning ambition when positioned toward the front on the final straight after engaging in a challenge on the final corner or later."
100371 -> "Increase velocity in a dash for the lead after running calmly and according to plan up until the final straight."
100381 -> "Gain momentum and begin to advance when passing another runner while well-positioned around halfway through the race."
@@ -1043,6 +1046,7 @@ pub fun description(s: skill-id): string
900281 -> "Very slightly kick forward when moderately tired while well-positioned halfway through the race."
900301 -> "Slightly increase velocity on the final straight after passing another runner in the front part of the pack on the final corner or later."
900321 -> "Slightly recover endurance and very slightly increase velocity for a moderate duration when sitting off the pace on a corner in the second half of the race."
900331 -> "Slightly increase velocity when far from the lead on the final straight. If positioned around the very back, moderately increase velocity instead."
900351 -> "Slightly increase velocity when positioned toward the front on the final straight after engaging in a challenge on the final corner or later."
900371 -> "Slightly increase velocity in a dash for the lead after running calmly and according to plan up until the final straight."
900381 -> "Very slightly begin to advance when passing another runner while well-positioned around halfway through the race."
@@ -1133,6 +1137,7 @@ pub fun group(s: skill-id): skill-group-id
100281 -> Skill-group-id(10028)
100301 -> Skill-group-id(10030)
100321 -> Skill-group-id(10032)
100331 -> Skill-group-id(10033)
100351 -> Skill-group-id(10035)
100371 -> Skill-group-id(10037)
100381 -> Skill-group-id(10038)
@@ -1570,6 +1575,7 @@ pub fun group(s: skill-id): skill-group-id
900281 -> Skill-group-id(10028)
900301 -> Skill-group-id(10030)
900321 -> Skill-group-id(10032)
900331 -> Skill-group-id(10033)
900351 -> Skill-group-id(10035)
900371 -> Skill-group-id(10037)
900381 -> Skill-group-id(10038)
@@ -1660,6 +1666,7 @@ pub fun rarity(s: skill-id): rarity
100281 -> Unique
100301 -> Unique
100321 -> Unique-Upgraded
100331 -> Unique
100351 -> Unique-Upgraded
100371 -> Unique
100381 -> Unique
@@ -2097,6 +2104,7 @@ pub fun rarity(s: skill-id): rarity
900281 -> Common
900301 -> Common
900321 -> Common
900331 -> Common
900351 -> Common
900371 -> Common
900381 -> Common
@@ -2187,6 +2195,7 @@ pub fun group-rate(s: skill-id): int
100281 -> 1
100301 -> 1
100321 -> 1
100331 -> 1
100351 -> 1
100371 -> 1
100381 -> 1
@@ -2624,6 +2633,7 @@ pub fun group-rate(s: skill-id): int
900281 -> 2
900301 -> 2
900321 -> 2
900331 -> 2
900351 -> 2
900371 -> 2
900381 -> 2
@@ -2714,6 +2724,7 @@ pub fun grade-value(s: skill-id): int
100281 -> 340
100301 -> 340
100321 -> 340
100331 -> 340
100351 -> 340
100371 -> 340
100381 -> 340
@@ -3151,6 +3162,7 @@ pub fun grade-value(s: skill-id): int
900281 -> 180
900301 -> 180
900321 -> 180
900331 -> 180
900351 -> 180
900371 -> 180
900381 -> 180
@@ -3241,6 +3253,7 @@ pub fun wit-check(s: skill-id): bool
100281 -> False
100301 -> False
100321 -> False
100331 -> False
100351 -> False
100371 -> False
100381 -> False
@@ -3678,6 +3691,7 @@ pub fun wit-check(s: skill-id): bool
900281 -> True
900301 -> True
900321 -> True
900331 -> True
900351 -> True
900371 -> True
900381 -> True
@@ -4542,6 +4556,36 @@ pub fun activations(s: skill-id): list<activation>
]
),
]
100331 -> [
Activation(
precondition = "",
condition = "is_finalcorner==1&corner==0&distance_diff_top>=5&order_rate<80",
duration = 50000.decimal(-4),
dur-scale = Direct-Dur,
cooldown = 5000000.decimal(-4),
abilities = [
Ability(
ability-type = Target-Speed(3500.decimal(-4)),
value-usage = Direct,
target = Self
),
]
),
Activation(
precondition = "",
condition = "is_finalcorner==1&corner==0&distance_diff_top>=5&order_rate>=80",
duration = 50000.decimal(-4),
dur-scale = Direct-Dur,
cooldown = 5000000.decimal(-4),
abilities = [
Ability(
ability-type = Target-Speed(4500.decimal(-4)),
value-usage = Direct,
target = Self
),
]
),
]
100351 -> [
Activation(
precondition = "is_finalcorner==1&blocked_side_continuetime>=2",
@@ -11896,6 +11940,36 @@ pub fun activations(s: skill-id): list<activation>
]
),
]
900331 -> [
Activation(
precondition = "",
condition = "is_finalcorner==1&corner==0&distance_diff_top>=5&order_rate<80",
duration = 30000.decimal(-4),
dur-scale = Direct-Dur,
cooldown = 5000000.decimal(-4),
abilities = [
Ability(
ability-type = Target-Speed(1500.decimal(-4)),
value-usage = Direct,
target = Self
),
]
),
Activation(
precondition = "",
condition = "is_finalcorner==1&corner==0&distance_diff_top>=5&order_rate>=80",
duration = 30000.decimal(-4),
dur-scale = Direct-Dur,
cooldown = 5000000.decimal(-4),
abilities = [
Ability(
ability-type = Target-Speed(2500.decimal(-4)),
value-usage = Direct,
target = Self
),
]
),
]
900351 -> [
Activation(
precondition = "is_finalcorner==1&blocked_side_continuetime>=2",
@@ -12626,6 +12700,7 @@ pub fun unique-owner(s: skill-id): maybe<uma-id>
100281 -> Just(Uma-id(102801))
100301 -> Just(Uma-id(103001))
100321 -> Just(Uma-id(103201))
100331 -> Just(Uma-id(103301))
100351 -> Just(Uma-id(103501))
100371 -> Just(Uma-id(103701))
100381 -> Just(Uma-id(103801))
@@ -12693,6 +12768,7 @@ pub fun unique-owner(s: skill-id): maybe<uma-id>
900281 -> Just(Uma-id(102801))
900301 -> Just(Uma-id(103001))
900321 -> Just(Uma-id(103201))
900331 -> Just(Uma-id(103301))
900351 -> Just(Uma-id(103501))
900371 -> Just(Uma-id(103701))
900381 -> Just(Uma-id(103801))
@@ -12782,6 +12858,7 @@ pub fun sp-cost(s: skill-id): int
100281 -> 0
100301 -> 0
100321 -> 0
100331 -> 0
100351 -> 0
100371 -> 0
100381 -> 0
@@ -13219,6 +13296,7 @@ pub fun sp-cost(s: skill-id): int
900281 -> 200
900301 -> 200
900321 -> 200
900331 -> 200
900351 -> 200
900371 -> 200
900381 -> 200
@@ -13309,6 +13387,7 @@ pub fun icon-id(s: skill-id): skill-icon-id
100281 -> Skill-icon-id(20013)
100301 -> Skill-icon-id(20013)
100321 -> Skill-icon-id(20023)
100331 -> Skill-icon-id(20013)
100351 -> Skill-icon-id(20013)
100371 -> Skill-icon-id(20013)
100381 -> Skill-icon-id(20013)
@@ -13746,6 +13825,7 @@ pub fun icon-id(s: skill-id): skill-icon-id
900281 -> Skill-icon-id(20011)
900301 -> Skill-icon-id(20011)
900321 -> Skill-icon-id(20021)
900331 -> Skill-icon-id(20011)
900351 -> Skill-icon-id(20011)
900371 -> Skill-icon-id(20011)
900381 -> Skill-icon-id(20011)
@@ -13837,6 +13917,7 @@ pub fun skill-group/show(sg: skill-group-id): string
10028 ->"YUMMY☆SPEED!"
10030 ->"Blue Rose Closer"
10032 ->"U=ma2"
10033 ->"Shooting Star of Dioskouroi"
10035 ->"Our Ticket to Win!"
10037 ->"Schwarzes Schwert"
10038 ->"#LookatCurren"
@@ -14110,6 +14191,7 @@ pub fun skill-group/skills(sg: skill-group-id): list<skill-id>
10028 -> [Skill-id(100281), Skill-id(900281), ]
10030 -> [Skill-id(100301), Skill-id(900301), ]
10032 -> [Skill-id(100321), Skill-id(900321), ]
10033 -> [Skill-id(100331), Skill-id(900331), ]
10035 -> [Skill-id(100351), Skill-id(900351), ]
10037 -> [Skill-id(100371), Skill-id(900371), ]
10038 -> [Skill-id(100381), Skill-id(900381), ]

View File

@@ -800,6 +800,9 @@ const (
SparkUma2Lv1 SparkID = 10320101 // U=ma2
SparkUma2Lv2 SparkID = 10320102 // U=ma2
SparkUma2Lv3 SparkID = 10320103 // U=ma2
SparkShootingStarofDioskouroiLv1 SparkID = 10330101 // Shooting Star of Dioskouroi
SparkShootingStarofDioskouroiLv2 SparkID = 10330102 // Shooting Star of Dioskouroi
SparkShootingStarofDioskouroiLv3 SparkID = 10330103 // Shooting Star of Dioskouroi
SparkOurTickettoWinLv1 SparkID = 10350101 // Our Ticket to Win!
SparkOurTickettoWinLv2 SparkID = 10350102 // Our Ticket to Win!
SparkOurTickettoWinLv3 SparkID = 10350103 // Our Ticket to Win!
@@ -12326,6 +12329,45 @@ var AllSparks = map[SparkID]Spark{
{{41, 900321, 3}},
},
},
SparkShootingStarofDioskouroiLv1: {
ID: 10330101,
Name: "Shooting Star of Dioskouroi",
Description: "A Spark that gives a skill hint for \"Shooting Star of Dioskouroi\".",
Group: 103301,
Rarity: 1,
Type: 3,
Effects: [][]SparkEffect{
{{41, 900331, 1}},
{{41, 900331, 2}},
{{41, 900331, 3}},
},
},
SparkShootingStarofDioskouroiLv2: {
ID: 10330102,
Name: "Shooting Star of Dioskouroi",
Description: "A Spark that gives a skill hint for \"Shooting Star of Dioskouroi\".",
Group: 103301,
Rarity: 2,
Type: 3,
Effects: [][]SparkEffect{
{{41, 900331, 1}},
{{41, 900331, 2}},
{{41, 900331, 3}},
},
},
SparkShootingStarofDioskouroiLv3: {
ID: 10330103,
Name: "Shooting Star of Dioskouroi",
Description: "A Spark that gives a skill hint for \"Shooting Star of Dioskouroi\".",
Group: 103301,
Rarity: 3,
Type: 3,
Effects: [][]SparkEffect{
{{41, 900331, 1}},
{{41, 900331, 2}},
{{41, 900331, 3}},
},
},
SparkOurTickettoWinLv1: {
ID: 10350101,
Name: "Our Ticket to Win!",

File diff suppressed because one or more lines are too long

View File

@@ -49,6 +49,7 @@ const (
RiceShowerRosyDreams UmaID = 103001 // [Rosy Dreams] Rice Shower
RiceShowerVampireMakeover UmaID = 103002 // [Vampire Makeover!] Rice Shower
AgnesTachyonTachnology UmaID = 103201 // [Tach-nology] Agnes Tachyon
AdmireVegaStarryNocturne UmaID = 103301 // [Starry Nocturne] Admire Vega
WinningTicketGettoWinning UmaID = 103501 // [Get to Winning!] Winning Ticket
EishinFlashMeisterschaft UmaID = 103701 // [Meisterschaft] Eishin Flash
EishinFlashPreciseChocolatier UmaID = 103702 // [Precise Chocolatier] Eishin Flash
@@ -1131,6 +1132,30 @@ var AllUmas = map[UmaID]Uma{
SkillPL4: 201112,
SkillPL5: 200571,
},
AdmireVegaStarryNocturne: {
ID: 103301,
CharacterID: 1033,
Name: "[Starry Nocturne] Admire Vega",
Variant: "[Starry Nocturne]",
Sprint: 2,
Mile: 5,
Medium: 7,
Long: 5,
Front: 1,
Pace: 1,
Late: 6,
End: 7,
Turf: 7,
Dirt: 1,
Unique: 100331,
Skill1: 200492,
Skill2: 201152,
Skill3: 201492,
SkillPL2: 200632,
SkillPL3: 201491,
SkillPL4: 200861,
SkillPL5: 200631,
},
WinningTicketGettoWinning: {
ID: 103501,
CharacterID: 1035,

View File

@@ -10,8 +10,8 @@ import horse/movement
pub import horse/uma
extern create-id-table(): vector<int>
c inline "int32_t arr[] = {100101,100102,100201,100301,100302,100401,100402,100501,100601,100602,100701,100801,100901,101001,101101,101102,101201,101301,101302,101401,101402,101501,101502,101601,101701,101702,101801,101802,101901,102001,102101,102201,102301,102302,102401,102402,102501,102601,102602,102701,102801,103001,103002,103201,103501,103701,103702,103801,103901,104001,104002,104101,104501,104502,104601,104801,105001,105201,105202,105601,105602,105801,105901,106001,106101,106901,107101,};\nkk_vector_from_cint32array(arr, (kk_ssize_t)67, kk_context())"
js inline "[100101,100102,100201,100301,100302,100401,100402,100501,100601,100602,100701,100801,100901,101001,101101,101102,101201,101301,101302,101401,101402,101501,101502,101601,101701,101702,101801,101802,101901,102001,102101,102201,102301,102302,102401,102402,102501,102601,102602,102701,102801,103001,103002,103201,103501,103701,103702,103801,103901,104001,104002,104101,104501,104502,104601,104801,105001,105201,105202,105601,105602,105801,105901,106001,106101,106901,107101,]"
c inline "int32_t arr[] = {100101,100102,100201,100301,100302,100401,100402,100501,100601,100602,100701,100801,100901,101001,101101,101102,101201,101301,101302,101401,101402,101501,101502,101601,101701,101702,101801,101802,101901,102001,102101,102201,102301,102302,102401,102402,102501,102601,102602,102701,102801,103001,103002,103201,103301,103501,103701,103702,103801,103901,104001,104002,104101,104501,104502,104601,104801,105001,105201,105202,105601,105602,105801,105901,106001,106101,106901,107101,};\nkk_vector_from_cint32array(arr, (kk_ssize_t)68, kk_context())"
js inline "[100101,100102,100201,100301,100302,100401,100402,100501,100601,100602,100701,100801,100901,101001,101101,101102,101201,101301,101302,101401,101402,101501,101502,101601,101701,101702,101801,101802,101901,102001,102101,102201,102301,102302,102401,102402,102501,102601,102602,102701,102801,103001,103002,103201,103301,103501,103701,103702,103801,103901,104001,104002,104101,104501,104502,104601,104801,105001,105201,105202,105601,105602,105801,105901,106001,106101,106901,107101,]"
// Vector of all Uma IDs in order for easy iterating.
pub val all = once(create-id-table)
@@ -64,6 +64,7 @@ pub fun show(uma: uma-id): string
103001 -> "[Rosy Dreams] Rice Shower"
103002 -> "[Vampire Makeover!] Rice Shower"
103201 -> "[Tach-nology] Agnes Tachyon"
103301 -> "[Starry Nocturne] Admire Vega"
103501 -> "[Get to Winning!] Winning Ticket"
103701 -> "[Meisterschaft] Eishin Flash"
103702 -> "[Precise Chocolatier] Eishin Flash"
@@ -137,6 +138,7 @@ pub fun variant(uma: uma-id): string
103001 -> "[Rosy Dreams]"
103002 -> "[Vampire Makeover!]"
103201 -> "[tach-nology]"
103301 -> "[Starry Nocturne]"
103501 -> "[Get to Winning!]"
103701 -> "[Meisterschaft]"
103702 -> "[Precise Chocolatier]"
@@ -210,6 +212,7 @@ pub fun character-id(uma: uma-id): character-id
103001 -> Character-id(1030)
103002 -> Character-id(1030)
103201 -> Character-id(1032)
103301 -> Character-id(1033)
103501 -> Character-id(1035)
103701 -> Character-id(1037)
103702 -> Character-id(1037)
@@ -283,6 +286,7 @@ pub fun sprint(uma: uma-id): aptitude-level
103001 -> E
103002 -> E
103201 -> G
103301 -> F
103501 -> G
103701 -> G
103702 -> G
@@ -356,6 +360,7 @@ pub fun mile(uma: uma-id): aptitude-level
103001 -> C
103002 -> C
103201 -> D
103301 -> C
103501 -> F
103701 -> F
103702 -> F
@@ -429,6 +434,7 @@ pub fun medium(uma: uma-id): aptitude-level
103001 -> A
103002 -> A
103201 -> A
103301 -> A
103501 -> A
103701 -> A
103702 -> A
@@ -502,6 +508,7 @@ pub fun long(uma: uma-id): aptitude-level
103001 -> A
103002 -> A
103201 -> B
103301 -> C
103501 -> B
103701 -> A
103702 -> A
@@ -575,6 +582,7 @@ pub fun front-runner(uma: uma-id): aptitude-level
103001 -> B
103002 -> B
103201 -> E
103301 -> G
103501 -> G
103701 -> G
103702 -> G
@@ -648,6 +656,7 @@ pub fun pace-chaser(uma: uma-id): aptitude-level
103001 -> A
103002 -> A
103201 -> A
103301 -> G
103501 -> B
103701 -> B
103702 -> B
@@ -721,6 +730,7 @@ pub fun late-surger(uma: uma-id): aptitude-level
103001 -> C
103002 -> C
103201 -> B
103301 -> B
103501 -> A
103701 -> A
103702 -> A
@@ -794,6 +804,7 @@ pub fun end-closer(uma: uma-id): aptitude-level
103001 -> G
103002 -> G
103201 -> F
103301 -> A
103501 -> G
103701 -> C
103702 -> C
@@ -867,6 +878,7 @@ pub fun turf(uma: uma-id): aptitude-level
103001 -> A
103002 -> A
103201 -> A
103301 -> A
103501 -> A
103701 -> A
103702 -> A
@@ -940,6 +952,7 @@ pub fun dirt(uma: uma-id): aptitude-level
103001 -> G
103002 -> G
103201 -> G
103301 -> G
103501 -> G
103701 -> G
103702 -> G
@@ -1013,6 +1026,7 @@ pub fun unique(uma: uma-id): skill-id
103001 -> Skill-id(100301)
103002 -> Skill-id(110301)
103201 -> Skill-id(100321)
103301 -> Skill-id(100331)
103501 -> Skill-id(100351)
103701 -> Skill-id(100371)
103702 -> Skill-id(110371)
@@ -1086,6 +1100,7 @@ pub fun skill1(uma: uma-id): skill-id
103001 -> Skill-id(200861)
103002 -> Skill-id(200771)
103201 -> Skill-id(200132)
103301 -> Skill-id(200492)
103501 -> Skill-id(200152)
103701 -> Skill-id(200502)
103702 -> Skill-id(200302)
@@ -1159,6 +1174,7 @@ pub fun skill2(uma: uma-id): skill-id
103001 -> Skill-id(201342)
103002 -> Skill-id(201172)
103201 -> Skill-id(201152)
103301 -> Skill-id(201152)
103501 -> Skill-id(200732)
103701 -> Skill-id(201542)
103702 -> Skill-id(200592)
@@ -1232,6 +1248,7 @@ pub fun skill3(uma: uma-id): skill-id
103001 -> Skill-id(200742)
103002 -> Skill-id(200562)
103201 -> Skill-id(200572)
103301 -> Skill-id(201492)
103501 -> Skill-id(201402)
103701 -> Skill-id(201112)
103702 -> Skill-id(201152)
@@ -1305,6 +1322,7 @@ pub fun skill-pl2(uma: uma-id): skill-id
103001 -> Skill-id(201581)
103002 -> Skill-id(200352)
103201 -> Skill-id(201102)
103301 -> Skill-id(200632)
103501 -> Skill-id(200592)
103701 -> Skill-id(200512)
103702 -> Skill-id(201102)
@@ -1378,6 +1396,7 @@ pub fun skill-pl3(uma: uma-id): skill-id
103001 -> Skill-id(201341)
103002 -> Skill-id(200561)
103201 -> Skill-id(201151)
103301 -> Skill-id(201491)
103501 -> Skill-id(201401)
103701 -> Skill-id(200501)
103702 -> Skill-id(201151)
@@ -1451,6 +1470,7 @@ pub fun skill-pl4(uma: uma-id): skill-id
103001 -> Skill-id(201352)
103002 -> Skill-id(200851)
103201 -> Skill-id(201112)
103301 -> Skill-id(200861)
103501 -> Skill-id(201392)
103701 -> Skill-id(200432)
103702 -> Skill-id(201392)
@@ -1524,6 +1544,7 @@ pub fun skill-pl5(uma: uma-id): skill-id
103001 -> Skill-id(200741)
103002 -> Skill-id(200772)
103201 -> Skill-id(200571)
103301 -> Skill-id(200631)
103501 -> Skill-id(200591)
103701 -> Skill-id(200511)
103702 -> Skill-id(201103)

View File

@@ -143,132 +143,134 @@ val p1 = Legacy(
val p2 = Legacy(
uma = Veteran(
uma = Uma-id(100201), // silence suzuka
uma = Uma-id(102601), // mihono bourbon
sparks = [
202, // 2* stamina
3301, // 1* medium
10020101, // 1* view from the lead
1000302, // 2* osaka hai
1001201, // 1* takarazuka kinen
1001502, // 2* kikuka sho
1001601, // 1* tsa
1002201, // 1* asahi hai fs
1002301, // 1* arima kinen
2003302, // 2* corner adept
2004302, // 2* focus
2004502, // 2* prudent positioning
2005301, // 1* early lead
2012602, // 2* dodging danger
2012802, // 2* moxie
2016002, // 2* groundwork
302,
3303,
1001201,
1001702,
1001901,
2004302,
2004502,
2012502,
2015202,
2016002,
2016401,
3000201,
10260102,
].map(Spark-id(_)),
saddles = [
1, // classic triple crown
2, // senior autumn triple crown
6, // dual grand prix
10, // arima kinen
11, // japan cup
12, // derby
14, // takarazuka kinen
15, // tsa
16, // kikuka sho
17, // osaka hai
18, // satsuki sho
21, // yasuda kinen
25, // victoria mile
26, // qe2
33, // asahi hai fs
34, // hopeful stakes
45, // yayoi sho
46, // kinko sho
63, // kobe shimbun hai
65, // mainichi okan
2,
6,
7,
10,
11,
12,
14,
15,
17,
18,
21,
23,
25,
26,
27,
33,
34,
49,
].map(Saddle-id(_))
),
sub1 = Veteran(
uma = Uma-id(102001), // seiun sky
uma = Uma-id(102402), // wedding mayano
sparks = [
301, // 1* power
2102, // 2* front runner
10200103, // 3* angling and scheming
1000302, // 2* osaka hai
1001001, // 1* japanese derby
1001101, // 1* yasuda kinen
1001701, // 1* qe2
2001402, // 2* non-standard distance
2004301, // 1* focus
2005301, // 1* early lead
2012401, // 1* front runner straightaways
2012502, // 2* front runner corners
2015201, // 1* front runner savvy
2016001, // 1* groundwork
2016102, // 2* thh
2016402, // 2* lone wolf
3000201, // 1* unity cup
203,
3202,
1000701,
1000802,
1001201,
1001803,
2003502,
2003701,
2004301,
2005502,
2012401,
2016402,
10240202,
].map(Spark-id(_)),
saddles = [
1, // classic triple crown
2, // senior autumn triple crown
4, // senior spring triple crown
5, // tenno sweep
6, // dual grand prix
7, // dual miles
10, // arima kinen
11, // japan cup
12, // derby
13, // tss
14, // takarazuka kinen
15, // tsa
16, // kikuka sho
17, // osaka hai
18, // satsuki sho
21, // yasuda kinen
23, // mile championship
25, // victoria mile
26, // qe2
33, // asahi hai fs
34, // hopeful stakes
96, // mainichi hai
1,
2,
6,
7,
10,
11,
12,
14,
15,
16,
18,
21,
23,
25,
26,
27,
33,
34,
48,
].map(Saddle-id(_))
),
sub2 = Veteran(
uma = Uma-id(102601), // mihono bourbon
uma = Uma-id(100201), // silence suzuka
sparks = [
102, // 2* speed
3402, // 2* long
10260101, // 1* g00 1st
1000502, // 2* satsuki sho
1000701, // 1* nhk mile cup
1001201, // 1* takarazuka kinen
1001702, // 2* qe2
2000101, // 1* right-handed
2002102, // 2* sunny days
2004302, // 2* focus
2005301, // 1* early lead
2012502, // 2* front corners
2016001, // 1* groundwork
203,
1101,
1001901,
1002203,
1002302,
2000101,
2000201,
2001902,
2003501,
2005401,
2016001,
3000102,
10020101,
].map(Spark-id(_)),
saddles = [
1, // classic triple crown
2, // senior autumn triple crown
6, // dual grand prix
10, // arima kinen
11, // japan cup
12, // derby
14, // takarazuka kinen
15, // tsa
16, // kikuka sho
17, // osaka hai
18, // satsuki sho
26, // qe2
27, // nhk mile cup
33, // asahi hai fs
49, // spring stakes
2,
6,
10,
11,
12,
14,
15,
17,
18,
21,
25,
26,
27,
33,
34,
40,
42,
44,
45,
46,
49,
59,
61,
63,
65,
111,
113,
117,
126,
].map(Saddle-id(_))
)
)
val trainee = Uma-id(102402) // wedding mayano
val trainee = Uma-id(104601) // smart falcon
pub fun main()
val p1a = parent-affinity(trainee, p1, p2.uma.uma)