37 lines
809 B
SQL
37 lines
809 B
SQL
DROP VIEW IF EXISTS race_event_skill_activate;
|
|
DROP VIEW IF EXISTS race_event_spot_struggle_activate;
|
|
DROP VIEW IF EXISTS race_event_duel_activate;
|
|
DROP VIEW IF EXISTS race_event_release_conserve_power;
|
|
|
|
CREATE VIEW race_event_skill_activate AS
|
|
SELECT
|
|
race,
|
|
frame_time,
|
|
param_0 AS user_index,
|
|
param_1 AS skill,
|
|
param_2 * 0.0001 AS duration,
|
|
param_3 AS branch,
|
|
param_4 AS hit_bitmask
|
|
FROM race_event WHERE type = 3;
|
|
|
|
CREATE VIEW race_event_spot_struggle_activate AS
|
|
SELECT
|
|
race,
|
|
frame_time,
|
|
param_0 AS user_index
|
|
FROM race_event WHERE type = 4;
|
|
|
|
CREATE VIEW race_event_duel_activate AS
|
|
SELECT
|
|
race,
|
|
frame_time,
|
|
param_0 AS user_index
|
|
FROM race_event WHERE type = 5;
|
|
|
|
CREATE VIEW race_event_release_conserve_power AS
|
|
SELECT
|
|
race,
|
|
frame_time,
|
|
param_0 AS user_index
|
|
FROM race_event WHERE type = 6;
|