Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // If going from 0 to 1 shard was a surprise, the player would have to react to it
- if ( p() -> resources.current[RESOURCE_SOUL_SHARD] == 1 )
- p() -> shard_react = p() -> sim -> current_time() + p() -> total_reaction_time();
- else if ( p() -> resources.current[RESOURCE_SOUL_SHARD] >= 1 )
- p() -> shard_react = p() -> sim -> current_time();
- else
- p() -> shard_react = timespan_t::max();
Advertisement
Add Comment
Please, Sign In to add comment