1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-10 16:19:59 +00:00

Make avatar respect maxspeed lerp, allow changing speed multiplier via script. Some extra functions.

Add one additional not-timed speed multiplier that also ignores influence by currents.
Lua functions added:
- avatar_setSpeedMult(num, time)
- avatar_setSpeedMult2(num)
- avatar_getSpeedMult()
- avatar_getSpeedMult2()
- entity_isInCurrent(entity)
- entity_getNumTargetPoints(entity)
This commit is contained in:
fgenesis 2013-06-20 20:01:51 +02:00
parent 25727244ad
commit 54d609a8b5
4 changed files with 46 additions and 7 deletions

View file

@ -3209,6 +3209,7 @@ void Continuity::reset()
//worldMapTiles.clear();
speedMult = biteMult = fishPoison = defenseMult = 1;
speedMult2 = 1;
poison = 0;
energyMult = 0;
light = petPower = 0;