rangers_scenario - MSUTeam/MSU GitHub Wiki
The hooked file is scripts/scenarios/world/rangers_scenario.nut
.
This updates the scenario to work with the new MovementSpeedMultFunctions system.
MSU adds the following function to rangers_scenario
:
getMovementSpeedMult()
{
// The magic number is the result of dividing the rangers movementspeed (111) by the player party movement speed (105)
return 1.057;
}
MSU hooks the following functions of abc
:
- Calls setVanillaBaseMovementSpeed to record the vanilla base movement speed with the rangers scenario of 111.
- Then calls resetBaseMovementSpeed to reset the movement speed back to 100.