mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-03-05 14:22:19 +00:00
attempt to fix missed tech random rolls
This commit is contained in:
parent
7412325b20
commit
7b15ee7e9f
1 changed files with 5 additions and 0 deletions
|
@ -175,6 +175,11 @@ u64 change_motion_replace(u64 module_accessor, u64 motion_kind, float unk1, floa
|
||||||
if (rand_int) motion_kind = hash40("passive_stand_f");
|
if (rand_int) motion_kind = hash40("passive_stand_f");
|
||||||
else motion_kind = hash40("passive_stand_b");
|
else motion_kind = hash40("passive_stand_b");
|
||||||
}
|
}
|
||||||
|
if (motion_kind == hash40("down_stand_f") || motion_kind == hash40("down_stand_b")) {
|
||||||
|
int rand_int = app::sv_math::rand(hash40("fighter"), 2);
|
||||||
|
if (rand_int) motion_kind = hash40("down_stand_f");
|
||||||
|
else motion_kind = hash40("down_stand_b");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
u64 motion_module = load_module(module_accessor, 0x88);
|
u64 motion_module = load_module(module_accessor, 0x88);
|
||||||
|
|
Loading…
Add table
Reference in a new issue