PDA

View Full Version : Attack System



HMTKSteve
08-22-2009, 06:30 AM
Here are some ideas I'm floating:

1. Can not be attacked when under 20 HP.

2. Location based level limits - If you are in town 1 max level is 10, town 2 is 20 etc... If you attack in that town with a higher level Pokemon it is lowered to that level.

3. hiring protection - A fellow gang member can be hired to defend you with their Pokemon if you get attacked.

Please add your own and discuss.

Kay
08-22-2009, 11:45 AM
Those are all awesome ideas. I support them all totally.

I'm wondering about the EXP awards - should that be based on the level of pokemon that your opponent used, or the level of the player? Also, should the pokemon that wins get some EXP as well as the player?

What about the possibility of stealing crystals? Like, when you mug them, there's a 10% chance of getting one of the crystals, if they have one.

And how about the option to turn attacking off for extended amounts of time, so that if you won't be getting online for a couple days and you can't defend yourself, you won't get all your $ and EXP taken away. But you can't turn it off for short periods of time or else people will abuse it.

pikaluva13
08-22-2009, 11:49 AM
And how about the option to turn attacking off for extended amounts of time, so that if you won't be getting online for a couple days and you can't defend yourself, you won't get all your $ and EXP taken away. But you can't turn it off for short periods of time or else people will abuse it.
If we had a vote i'd pick forever as an option :p I don't like being left in the hospital...thanks Steve...lol

Kay
08-22-2009, 12:21 PM
Well I think that if attacking is a part of the game, it should be a part of the game. If people can turn it off and continue playing, I don't think that'd be fair.

So for this, I should have been clearer, I think if you turn off attacking you also can't do other things. Like you can set up a "Vacation" spot that's similar to Federal Jail - you can't do anything, they can't do things to you - but it doesn't make you look like you got into trouble. :-P

pikaluva13
08-22-2009, 01:05 PM
I know it wouldn't be fair...but i don't want to fight at the moment...lol

Kay
08-23-2009, 02:11 PM
I would like to offer another suggestion. Can potions be used when you're NOT in the hospital. Because most of the time I'm left with little to no health, I'm not even in the hospital so I don't need to get myself out of it faster or whatever the potions are supposed to do. I tried using one in hopes that it'd help me out but I just ended up wasting it, haha. Anyway I think maybe if potions could give you a leeeetle bit of health, so that you have to spend a lot of money for it in order to get health all the way up, that'd be great.
Or even you have to spend EXP or Brave or Will or something to use a health potion. Then it's even more of a tradeoff, but one some would be willing to take in some cases.

MissingNo.
08-23-2009, 03:11 PM
If I am cheap shotted again by a low level scum by attacking me multiple times just to get my health down so he can win, then I reserve the right to beat him down wherever he is with whatever Pokemon I choose.

HMTKSteve
08-23-2009, 03:22 PM
Attackers only hit you if they are:

A) Faster than you
B) Survive your first hit

If you are in the first town all Pokemon fight at a maximum level of 10. Every town after that adds ten to the max level of your Pokemon.

If you want to avoid being 'cheap shotted' I suggest you go to the town that allows your Pokemon to attack at its level and no lower/higher. If your Pokemon is between level 20 and 30, go to town 3 (max level is 30). Your Pokemon will function at level and an attackers will function at a maximum level of 30.

The 'no active Pokemon cause he released it' problem should now be fixed.

Yes, you can use some healing items outside of the hospital.

HMTKSteve
08-25-2009, 07:03 AM
The Attack system appears to be working well. Because of this I should soon be able to add in Pokemon moves.

As it is right now you have a choice between using an Attack or a Special Attack. Once I allow you to slot moves on your Pokemon you will be able to choose which move to use in battle. The defender will have to pre-program their Pokemon as to which moves to use based on a weighting system.

The first implementation of moves will only be straight attacks. Due to the difficult nature of programming in added effects any move that has a chance to cause a status condition or other non-damaging aspect will not work as expected in combat. You will still have access to those moves but only moves that cause damage will work.

Power Points will be tracked during the battle but will not require a visit to the Pokemon Center to refill them.

Your Pokemon will not sustain actual lasting damage from battle (otherwise you could hide behind a knocked out Pokemon and not be attacked).

No changes will be made to the Farm challenge system or Battletent at this time.

As always I welcome your comments and concerns as we work together to make the Attack system better.

PS: If you have evolved a Pokemon into a non-learning stage PM me in game with the ID number of the Pokemon and I can devolve it for you. This will enable you to put moves on said Pokemon.

Yes, TMs will follow as well as hold items.

pikaluva13
08-25-2009, 07:29 AM
PS: If you have evolved a Pokemon into a non-learning stage PM me in game with the ID number of the Pokemon and I can devolve it for you. This will enable you to put moves on said Pokemon.

do you mean like if (grabs random non TRG pokemon) you had a gallade after level 53 when it would have learned close combat, but now has no more moves to learn?

Kay
08-25-2009, 11:11 AM
Um, I'm not sure what to do with my Butterfree... If it needs "deevolving" or not.


When will we be able to give EVs again? (Non-vitamin ones)

MissingNo.
08-26-2009, 03:07 PM
Can we also make it so those under 20 health can't attack since they can't be attacked?

Kay
08-26-2009, 05:21 PM
I second that, please.

N0t2f34r
08-26-2009, 09:11 PM
Does, that really make sense? If you're under 20 HP, then you are at a HUGE disadvantage to your opponent. It's like volentary suicide.

Kay
08-26-2009, 10:08 PM
Not if their pokemon can OHKO someone else and their pokemon goes first.

N0t2f34r
08-27-2009, 09:06 AM
True... Yeah, I guess that's needs to be in there.

HMTKSteve
08-27-2009, 05:35 PM
Do to some unsportsmanlike conduct I have instituted a "can't attack anyone lower than one-fifth of your level" rule. I am also going to stop using the Attack system myself.

I will be keeping my HMTKSteve account strictly for admin purposes and will instead be using a low level account I recently created to play the game.

Kay
08-27-2009, 06:29 PM
What about during Gang Wars? Does that rule apply? I ask because the last time we had a "bash rule," the rule was not applied during gang wars.

Personally I like the new rule. Gives lower level players more of a chance to get somewhere - because even with a pokemon level cap, higher level players have more health than a lower level. :)

HMTKSteve
08-27-2009, 06:35 PM
What about during Gang Wars? Does that rule apply? I ask because the last time we had a "bash rule," the rule was not applied during gang wars.

Personally I like the new rule. Gives lower level players more of a chance to get somewhere - because even with a pokemon level cap, higher level players have more health than a lower level. :)Yes, that rule will always apply.

This is how the battle system currently works:

1. Pull stats for both members Active Pokemon
2. Determine which Pokemon is faster
3. Calculate damage based on Attack vs. Defense or Special Attack vs. Special Defense
4. Apply any type advantage modifiers
5. Apply any damage reduction modifiers from armor worn
6. Faster Pokemon causes damage
7. If user of slower Pokemon is still alive their Pokemon attacks and causes damage
8. Repeat

There is also a level cap in each town equal to town ID number times 10. So if you are in Home Town all Pokemon are reduced to level ten if they are higher than said level. Pokemon are not raised in level.

Your Pokemon do not sustain any lasting damage in combat. To do so would cause more problems because it would allow a member to hide behind a KOed Pokemon and be immune from attacks or some other related problem.

Kay
08-27-2009, 11:17 PM
I am wondering how my opponent's pokemon can inflict nearly 6000 damage when attacking/defending. Am I training mine wrong?

HMTKSteve
08-28-2009, 06:34 AM
This how damage is calculated for your Attack score:


$mydamage= (((((((2*($mpokemonlevel)/5)+2)*$stats_y_atk*$mpokemonlevel/$stats_o_def)/50)+2)*($xrand))*$tmoda);

$mpokemonlevel = the level of your Pokemon
$stats_y_atk = Your Pokemon Attack score
$stats_o_def = Your opponent's Pokemon Defense score
$xrand = random number between 1 and 100
$tmoda = Type advantage modifier

(For a short time I had the arena system in there but I pulled it out)

There is also a crit system in place


$crit=rand(1,40);
if($crit==17)
{
$mydamage*=rand(20,40)/10;
}
else if($crit==25 or $crit == 8)
{
$mydamage/=(rand(20,40)/10);
}

This system can not only increase your damage with a crit but it can also reduce your damage with a fumble.

If either member is wearing armor (Team Rocket Uniform is the best) damage is reduced yet again.

Also keep in mind the level cap based on what town you are in. If your Pokemon has a lower level than the town's level cap and your opponent has a higher level one you will be at a severe disadvantage.

This is a two-edged problem. Once you get to the point where you can buy hyper potions a player can slowly whittle down a tougher player by attacking them, getting reduced to one hp and then healing up and repeating the process.

pikaluva13
08-28-2009, 09:51 AM
so if we end up doing the math and get something like 35.2 which level am i not able to go below...are the lowest people i am able to attack at 35 or 36?

Kay
08-28-2009, 10:22 AM
Wow, xrand can be very low or very high. That puts a lot of chance into a fight rather than basing on training and stuff. Cuz that could mean a level 50 poke with 100 attack vs level 50 poke with 100 defense could hit for a range from 1100 to 110,000 damage, and that's neglecting any type advantage or critical hit possibility. No wonder I was confused.

I'm kinda wondering if this number could be lowered some...? I feel like with such a huge range like that coming from just an RNG, the little bit of effect my training a pokemon would have isn't worthwhile.

N0t2f34r
08-28-2009, 10:24 AM
What I'm seeing, is that I don't have the fastest pokemon, but all the other stats are high, so I'm losing almost all my battles.

Kay
08-28-2009, 10:29 AM
Yeah with that formula I'm thinking that the faster pokemon has a HUGE chance of winning just because of that xrand right there.

N0t2f34r
08-28-2009, 10:37 AM
Yeah with that formula I'm thinking that the faster pokemon has a HUGE chance of winning just because of that xrand right there.

Yeah... I've won once, and that was because I was against a weaker type....

Also, are there immunities? Say, a Sandshrew can't be attacked by a pikachu? If that were so, then battles could never be completed, and would be like impossible to win.... Herm. I guess when Moves are intorduced, that would work better.

HMTKSteve
08-28-2009, 04:42 PM
Oops... The random number is supposed to be 85-100. In the BattleTent it is set to 85-100. I must have made a slight mistake when transcribing it over to the Attack system.

I will effect that change.

N0t2f34r
08-28-2009, 07:33 PM
I lost, I got the message: ***** hit you with his bulbasaur doing 789 damage. (Using squirtle)

Then next page:


You lost to ******* and lost 0 EXP!QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid=177' at line 1
Query was UPDATE users set exp=exp+0, WHERE userid=177

HMTKSteve
08-28-2009, 08:32 PM
I lost, I got the message: ***** hit you with his bulbasaur doing 789 damage. (Using squirtle)

Then next page:
OK, there was an extra comma in the statement.

ALL Attack system bugs should be gone now. You should no longer find yourself losing to a much lower level opponent.

Also, when someone attacks you and losses YOU gain the same amount of EXP that they lose.

Kay
08-28-2009, 08:48 PM
Yay! Awesome changes, thanks Steve! :D

MissingNo.
08-29-2009, 11:52 PM
Alright enough is enough. Low level people can attack high levels? If we can not attack someone for any reason, then the same should apply to them. Javbsald, I'm looking at you.

HMTKSteve
08-30-2009, 07:54 AM
My main concern is low level players getting beat up before they get a chance to get anywhere in the game. Suggestions on how to combat this problem without leaving higher level players open to attack would be appreciated.

pikaluva13
08-30-2009, 07:59 AM
Alright enough is enough. Low level people can attack high levels? If we can not attack someone for any reason, then the same should apply to them. Javbsald, I'm looking at you.
I made it all better ^u^ Have fun for those 26 minutes XD

HMTKSteve
08-30-2009, 08:18 AM
Don't forget that lower level players can not travel to the higher level towns. If low level players keep bugging you just go to a higher level town.

Sorgatani
08-30-2009, 01:34 PM
The problem with higher-level towns is that with level capping, those of us who chose to switch active pokemon as our collections grow are at a disadvantage in pokemon level. That's how it seems so far, I go to lower level towns so that my pokemon can fight closer to their level.

Kay
08-30-2009, 01:41 PM
Yeah, what she said. It's either get beat up a lot by lower level players looking to make quick EXP, or never train any other pokemon but the one already strong one.

N0t2f34r
08-31-2009, 09:59 AM
I don't think the 1/5 your level bash rule is effective. I just got smacked down by a level 60, because I'm level 13....

Kay
09-01-2009, 01:25 PM
Can I suggest a change in the attack formula? Maybe can the overall damage be brought down so that it doesn't all come down to one hit for every fight, and that one hit depends on speed? Because when every fight, the damage starts around 1000 and no one's health is nearly that high, it really does only boil down to whose pokemon is faster, for the most part.

HMTKSteve
09-01-2009, 05:08 PM
I'm using the same formula in the Battle Tent so I don't quite understand why the damage numbers are so different.

Kay
09-01-2009, 05:26 PM
It must be different somehow.

The pokemon in the battle tent take like 10-20 damage off each other per round.

But in every attack on an actual player, the damage is in the thousands, and since no one has health that high, that first hit is all it takes to kill.

Krimer56
09-01-2009, 05:59 PM
yeah it happens to me as well i do not understand it.

HMTKSteve
09-01-2009, 07:18 PM
OK, found another thing left off from the BattleTent formula. Try the Attack system now :)

Krimer56
09-01-2009, 07:41 PM
cool its like real pokemon

HMTKSteve
09-01-2009, 07:51 PM
Every attack now costs 1 energy. (I open to adjusting this upward)
You no longer suffer the EXP hit from leaving battle.
Let me know if there are any bugs.

baguio
09-01-2009, 07:55 PM
for some reason a battle wich used to end in 2-3 rounds now takes 50+ rounds to finish(in the battle tent)

Krimer56
09-01-2009, 07:57 PM
yea thats the bad thing it takes forever

HMTKSteve
09-01-2009, 07:59 PM
for some reason a battle wich used to end in 2-3 rounds now takes 50+ rounds to finish(in the battle tent)Each round in the battle tent takes milliseconds to complete.

Kay
09-01-2009, 08:05 PM
It does take longer to attack players but I see this as a good thing. It's really got to be worth it now, to attack a player, plus it doesn't all come down to a coin toss now. I am loving the new better attack system. Thanks Steve. :)

Krimer56
09-01-2009, 08:09 PM
yea but it doesn't show who attacked you unless they knocked you out i kinda wanna know who attacked me at least

HMTKSteve
09-01-2009, 08:22 PM
yea but it doesn't show who attacked you unless they knocked you out i kinda wanna know who attacked me at leastI can add that in but you may find yourself with a boat load of event messages!

I also fixed the Battle Tent.

N0t2f34r
09-07-2009, 09:52 AM
I was just attacking someone, and as soon as they were one hit away from a KO, I got this message


This player is in jail.

So, I can't attack them now because they're in jail? I can't think of a way to fix that, but that's really annoying. Now I gotta wait a whole 4 minutes...

pikaluva13
09-07-2009, 09:55 AM
I was just attacking someone, and as soon as they were one hit away from a KO, I got this message



So, I can't attack them now because they're in jail? I can't think of a way to fix that, but that's really annoying. Now I gotta wait a whole 4 minutes...
or you can just bust then like they were and then continue the attack, like you did... :lol:

N0t2f34r
09-07-2009, 10:00 AM
or you can just bust then like they were and then continue the attack, like you did... :lol:

Yes, but then it counts as 2/6 of my attacks for the day. TT.TT

HMTKSteve
09-07-2009, 10:25 AM
If they are in jail they are in jail. It's not like they traveled somewhere to get away from you. Next time wait until they are offline to attack!

N0t2f34r
09-07-2009, 12:33 PM
If they are in jail they are in jail. It's not like they traveled somewhere to get away from you. Next time wait until they are offline to attack!

*bows*

Yes sensai.

HMTKSteve
10-16-2009, 09:01 PM
I'm working on an attack page that will list about 10 - 20 players you can attack in the same town. It may not work so well for high level players.

Bobreeder
02-10-2010, 10:11 AM
Usually when I log on, I find that I have about 10 events of different people attacking me. They attack until their HP is very low, then they leave the battle to use Hyper Potions, and proceed to attack me again. This means virtually anyone can beat up anyone, at least when in war. Therefore I think that leaving a battle should make you automatically lose it, and give experience to the winner, similar to the current system when the attacker loses all their HP. I also think that this experience gain should be the same as if I had beaten this person in combat with me being attacker, not the 2-3 EXP I gain now.
I am sure I'm not the only one feeling this way.

Kay
02-10-2010, 12:00 PM
I totally agree.

People are gaining 100 levels on their first day of signing up because they can beat the higher level players just ONE TIME and get hundreds of EXP from them. And there are currently enough high-level players - even high level players that don't play anymore - to do this several times.

The way the EXP works is a little odd, too. A high level player needs waaaay more EXP to level than a low level player, but they can't get much EXP from any fight. 30-50 is the most I get even from the highest level players, but I need over 3500 to level up. Lower level players need a tiny fraction of that to level up, but they can get several hundred EXP from beating one high level player. They get several level ups from one attack. Because like Thor said, yes they can beat the high level players, by keeping the fight open in one tab, and then hyper potioning in another tab, and then finishing the fight - even if they have to do that so many times they use all 6 attacks on that player in one day, it levels them up SO many times.

This is not only throwing the leveling system out of whack, but also throwing the crystal economy out of whack.

I think the amount of EXP a player gives when defeated should be a fixed amount based on level, but the amount a player needs to level up should stay the same (increasing as you level higher). And perhaps, leaving a fight causes you to lose that fight, or perhaps maybe a level cap of only one level can be achieved from any one hunk of EXP, if that makes sense - like, if you are level 2 and you need 20 EXP to get to 30, and you beat up MissingNo. and get 2000 EXP from it, you will still only get to level 3.

wobbuffet03
02-10-2010, 08:18 PM
bUT you and Pikaluva13 both have infinity hp

pikaluva13
02-10-2010, 09:01 PM
it's screwed up

Kay
02-10-2010, 09:25 PM
Wobbuffet, that doesn't even matter. Totally irrelevant, actually. There are plenty of other high levels without bugged HP. And our HP won't be bugged forever, I assume.

It's out of balance and makes the game way too easy for low level players, and discouraging for high level players. I can attack every player (that's not in my gang) that's above level 100 and all total I come away with about 300-400 EXP. From around 20 players I'm attacking, I get 10% of my level up. Okay, that seems fair.

EXCEPT when you compare it to how a low-level player can attack just ONE other player, and by using the hyper-potion loophole, manage to kill them, and gain a billion levels.



I just used my old test account. At level one, I found a high-level player that was in hometown. Not even the highest level player, just one of the top ten or so. Just so happened that I had the type advantage, so I didn't even need to use a hyper potion. I won in three clicks. I gained 43340 EXP. Do you see that number? :o
43340 EXP from one successful attack.

This leveled the test account up to LEVEL 88.


ONE successful attack took my test account from LEVEL ONE to LEVEL EIGHTY-EIGHT.

This is ridiculous, and must be remedied. I knew it was bad, but until testing, I didn't realize just exactly how bad. That is really, really, ridiculously bad.


(Adam, you can delete that account by the way. I made it unattackable so it can't be used for EXP-farming, though, no worries)

wobbuffet03
02-11-2010, 11:39 AM
can't we do something abotu multi tabbing

Kay
02-11-2010, 01:52 PM
Probably not, and even if we could, it wouldn't change anything. You are not getting the point of this, Wob. I did everything I just did on that test account, on just one tab. Multitabbing is NOT the problem here.

wobbuffet03
02-11-2010, 07:02 PM
we coudl make something that let's a player to attack another player 1000 times a day or something. I mean 1000 attacke with your pokemon not like leaving and healing

pikaluva13
02-11-2010, 09:23 PM
we coudl make something that let's a player to attack another player 1000 times a day or something. I mean 1000 attacks with your pokemon not like leaving and healing
but then that'd be even worse and the newer players would be like level 1000000000000 after like 50 attacks... (exaggeration)

wobbuffet03
02-14-2010, 01:36 PM
something along teh line?

Bobreeder
02-15-2010, 12:16 PM
You beat (member) and gained 6 EXP!
Earlier I got 15x that from said user. Now there isn't much reason to attack people for experience anymore, for me at least. Though I realize this probably helped salvage the earlier problem with lower levels beating up higher levels for thousands of EXP, it mostly killed leaving as a way of gaining EXP, leaving missions as the only viable source (that I know of). I'm not sure how one would go about making a good attack system (especially lacking the current/past formula), but I have faith that one of the developers knows ^^

pikaluva13
02-15-2010, 12:21 PM
You beat (member) and gained 6 EXP!
Earlier I got 15x that from said user. Now there isn't much reason to attack people for experience anymore, for me at least. Though I realize this probably helped salvage the earlier problem with lower levels beating up higher levels for thousands of EXP, it mostly killed leaving as a way of gaining EXP, leaving missions as the only viable source (that I know of). I'm not sure how one would go about making a good attack system (especially lacking the current/past formula), but I have faith that one of the developers knows ^^
I think it's just a quick-fix while Steve figures out what to do about it.

HMTKSteve
02-15-2010, 01:12 PM
Quick fix, will be single attack based.

wobbuffet03
02-17-2010, 08:36 PM
how about you get 3 to 4 % of your exp needed to lv up

pikaluva13
02-17-2010, 08:56 PM
how about you get 3 to 4 % of your exp needed to lv up
Then that'd be helping the higher level players out a whooooole lot. Steve will figure it out and until then the lower level people can level up like us older players did, by doing missions.

Dereon
02-18-2010, 08:46 PM
i think that people should get exp from the battle tent, only if you like win 15 in a row yopu get 100 exp or something along the lines..i figured since people are having issues with ways to get exp. the battle tent should be a way.

pikaluva13
02-18-2010, 08:57 PM
i think that people should get exp from the battle tent, only if you like win 15 in a row yopu get 100 exp or something along the lines..i figured since people are having issues with ways to get exp. the battle tent should be a way.
You do get EXP, it goes to your pokemon though, since they are the ones that are actually fighting there

Dereon
02-18-2010, 09:26 PM
You do get EXP, it goes to your pokemon though, since they are the ones that are actually fighting there
i guess you're right on that one, but you should get sumtin' extra ya know...like you pick betted high stakes and stuff when you send a battle you should be able to do that at the tent..but that'd take alot of work, all those pokemon having to be added..but i think it'd be a good way to gain pokemon..

pikaluva13
02-19-2010, 06:37 AM
Yuo get pokemon through the pokemon hunting section or buying them from the pokemon farm section

Dereon
02-19-2010, 04:11 PM
just trying to elaboraate, but ill leave it at that