Search found 6 matches

by Jackozzo
September 27th, 2018, 5:11 pm
Forum: Pet Battles
Topic: Mechanics & Formulas
Replies: 28
Views: 4816

Re: Mechanics & Formulas

Yes I totally forgot to put a link for the current code because I had to start my real job so this went aside. I still can't put it because I need 8 posts before putting links but I'll do it shortly. I fixed some issued to correct it for BfA and enhanced tables, I was working on battle UI but if som...
by Jackozzo
October 27th, 2016, 3:22 pm
Forum: Pet Battles
Topic: Mechanics & Formulas
Replies: 28
Views: 4816

Re: Mechanics & Formulas

So I'm trying to define the correct workflow for the mechanics of an attack. This is what I've come so far: first check if defender will implicitly block attack, if yes then attack is blocked and charges of abilities are consumed (even on attacker, eg bonus to next attack is wasted) check if the abi...
by Jackozzo
October 15th, 2016, 9:55 am
Forum: Pet Battles
Topic: Mechanics & Formulas
Replies: 28
Views: 4816

Re: Mechanics & Formulas

Thanks for the time you spent in clarifying my doubts. Yes, I've seen them but I've never spent time theorycrafting the whole story so I never dug deep into the mechanics. Still many issues are unclear but I'll enumerate them with time. The main problem for now is not being able to know how each dam...
by Jackozzo
October 11th, 2016, 8:14 pm
Forum: Pet Battles
Topic: Mechanics & Formulas
Replies: 28
Views: 4816

Re: Mechanics & Formulas

Here I am again with some questions :) I added the mechanics for roughly 25% of the abilities, all trivial things (mostly), but I have some doubts before keeping my work with other kind of abilities. Probably some answers don't apply to all corner cases but there's no hurt in trying. which is the te...
by Jackozzo
October 9th, 2016, 7:04 pm
Forum: Pet Battles
Topic: Mechanics & Formulas
Replies: 28
Views: 4816

Re: Mechanics & Formulas

Thanks for the responses so far, I haven't take the time to study them yet since I'm still laying out the framework foundations of the project. The status is fine since I've been able to parse all abilities / pets from bnet API including hidden abilities (like the passive effects) and all the pets. ...
by Jackozzo
October 4th, 2016, 2:47 pm
Forum: Pet Battles
Topic: Mechanics & Formulas
Replies: 28
Views: 4816

Mechanics & Formulas

Hello! I'm writing an application with the purpose of simulating pet battles to obtain statistically percentage of how much a team is able to win against another and to experiment some algorithms which could evolve to find the better team to defeat a specific trainer. This requires me to have an in-...