vendethiel / ezarena

Reprise de l'ultimarena pour ajouter plus de fonctionnalités et un RPG !
MIT License
4 stars 3 forks source link

pvp troubles #58

Closed winzombie closed 6 years ago

winzombie commented 7 years ago

pvp doesn't work correctly, dont show actions

vendethiel commented 7 years ago

Currently busy doing other things :). I'm not sure I'll find time before next week.

vendethiel commented 7 years ago

Okay. Looking at it now!

vendethiel commented 7 years ago

That's very broken indeed.

vendethiel commented 7 years ago

I'm tired at this code duplication, ugh. I'm not sure how I can make it better right now.

vendethiel commented 7 years ago

To give you an idea:

adr_battle is ~3k lines (external files included) adr_battle_pvp is ~1.5k lines (external files included)

I'll be looking at ways to share code between those. But I don't want to lie – it's gonna take a looooot of time to rewrite 4k+ lines of tangled code.

vendethiel commented 6 years ago

Okay, I fixed spells in PvP. I think this will be done by september, maybe october.

Maybe less time, but I don't want to break promises.

vendethiel commented 6 years ago

I fixed pvp.

It's not pretty but should work. Also added ajax refresh.