^^ the errors should stop. I've had none, so just disable the warnings for the site.
"Deprecated" .. well, I used what it can offer, and my code got faster -> I passed a reference and modified the value in the function and did not need to return anything really. Handy thing.
Well, I'll do a possible HUGE battle object (shudder) copied from all the battle parts needed, so you do a $battle->rolldamage() and the battle takes the entire $badguy array with the objects. It should be planned better, but as I won't change any functionality you need on the outside, I can do an in-between solution and divide it later on to a better extent.
My goal is to make the battles more independent of the user, having $user->rolldamage() and so on.
As said, the "caches don't invalidate after an invalidatedatacache() call" is also something I need to work on.
Possibly a tiny thing, but it *should* already work... very strange. Maybe even a race condition.
