News:

A forum for users of LackeyCCG

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Vegetto1624

#1
Hi, I'm new to Lackey. I created my own plugin, but there is a problem with my card game: due to the several statistics/ability/attacks of the cards, the turns are very slow because the player have to calculate manually the results of the damage, health, etc.

Can you guys help me to achieve a way to automatically calculate the results of the cards attacks? Maybe it needs only a few string of code, but I don't know where I have to go to do that. Below I explain how it have to function:

The damage of an ability is calculated by: (Strengt + Ability Power) x dice with 6 faces. Example: X has 4 strengt and want to use his ability "Fist" which has 5 ability power. I roll a dice and the results is 2, so I have to calculate (4+5)x2 = 18 damages.

Thanks to everyone who decides to help me ^^