GrangerHub / tremulous-game-logic

Game logic for Tremulous, maintained by GrangerHub
Other
12 stars 8 forks source link

Implement invisibility stamina for the basi. #235

Closed dGr8LookinSparky closed 4 years ago

dGr8LookinSparky commented 4 years ago

In addition to the current invis requirements, the basi must have invis stamina (making use of MISC_MISC). Invis stamina starts full. invis stamina recharges while not moving forward/back/left/right nor while jumping nor taunting. Invis stamina drains at a gradual rate while walking slow, invis stamina drains at a faster rate while moving at full speed. Adv basi would have better invis stamina stats.

dGr8LookinSparky commented 4 years ago

Implemented with this commit:

https://github.com/GrangerHub/tremulous-game-logic/commit/db6715ce0ad1e47aa30c081196d04d78ccc0ac78