Bill Meltsner
094e4e8d66
Fix Shield Dust blocking secondary effects that didn't affect the ability-holder.
2012-05-14 18:12:02 -04:00
Bill Meltsner
3d74e7034f
Add a new event, TrySecondaryHit.
...
This event behaves much like TryHit, except it's only called on the secondary effect(s) of a move, and only when it affects the target, not the user.
It is also suppressed by Mold Breaker.
2012-05-14 18:11:07 -04:00
Bill Meltsner
382c2bddb8
Fix Fling.
...
This implementation works properly except for one minor issue - the held item should not be revealed when Fling is used against Protect.
2012-05-14 17:21:16 -04:00
Bill Meltsner
aa1990914d
Move Shield Dust's effect to onTryHit.
...
This way, it doesn't conflict with Sheer Force, and all the added secondaries that are negated by Shield Dust but not Sheer Force should function properly.
2012-05-14 16:54:31 -04:00
Bill Meltsner
d7837573aa
Fix Last Resort.
2012-05-14 14:33:23 -04:00
Bill Meltsner
5cfd4ccc3f
Fix the previous commit.
...
There are several moves with no given base power that rely on other mechanisms (like basePowerCallback, or damage) to inflict pain.
This also encompasses Nature Power, which is technically classed as a Status move (hence Prankster Nature Power), but actually uses Earthquake, which will then receive the flinch chance properly.
2012-05-13 22:58:26 -04:00
Cody Thompson
b91666d6b3
Stench should only flinch on damaging moves
2012-05-13 19:06:50 -04:00
Bill Meltsner
b58e7a9482
Really fix Griseous Orb.
2012-05-13 12:25:48 -04:00
Cody Thompson
ca67ebe061
Added missing <br /> (I suck)
2012-05-13 10:29:34 -04:00
Cody Thompson
71cf556459
Added to !cap
2012-05-13 10:24:22 -04:00
TheImmortal
de6962e714
Merge pull request #53 from Marty-D/master
...
Rewrite Reflect and Light Screen's shortDesc, again.
2012-05-13 06:07:03 -07:00
Marty-D
c6138e9d06
Rewrite Reflect and Light Screen's description, again.
2012-05-12 23:39:42 -04:00
Guangcong Luo
0a0c2a3ab0
Make Shadow Force bypass Protect
2012-05-12 18:24:55 -04:00
Guangcong Luo
a1f61e5b0f
Fix Safeguard against Rest
2012-05-12 18:21:58 -04:00
Guangcong Luo
6a138edbd5
Fix Griseous Orb.
2012-05-12 18:15:25 -04:00
Guangcong Luo
5f31554ef9
Fix Pressure
2012-05-12 18:12:20 -04:00
Guangcong Luo
015fb9a6fa
Prevent crash from invalid rooms
2012-05-12 18:12:07 -04:00
Cody Thompson
c9b16c642d
Merge pull request #52 from RisingDusk/master
...
Tested locally, works like a charm.
2012-05-11 09:42:04 -07:00
Cody Thompson
e9fc0b6f95
Banned + fixed implementation on unreleased items
...
- Custap Berry
- Ganlon Berry
- Jaboca Berry
- Liechi Berry
- Micle Berry
- Petaya Berry
- Rowap Berry
- Salac Berry
- Soul Dew
2012-05-11 12:36:03 -04:00
TheImmortal
e5210c0361
Stench implementation
2012-05-11 19:44:59 +04:00
TheImmortal
bc1d74e67b
Brick Break fix for Screens when 'hitting' Ghosts
2012-05-10 02:26:16 +04:00
TheImmortal
aa8cccd91f
Memento bypasses Magic Bounce/Coat
2012-05-10 00:49:13 +04:00
Cody Thompson
5edd404cff
Fixed bug in damage calculation
...
- Bug removed randomness from damage dealt
2012-05-09 13:41:41 -04:00
Bill Meltsner
6575b940ce
Prevent /me from being used to circumvent modchat.
2012-05-09 09:34:31 -04:00
Guangcong Luo
534e1b44e4
Ban Pure/Huge Power from BH
2012-05-09 02:49:11 -04:00
Guangcong Luo
298c1e03f3
Fix yet another crash in nameLock...
...
we might want to consider getting rid of this nameLock implementation
2012-05-09 02:47:40 -04:00
TheImmortal
6b389e0bdb
Update Secret Power shortDesc
2012-05-08 22:19:53 +04:00
TheImmortal
cbd673d333
Safeguard fix for Toxic Spikes
2012-05-08 21:54:57 +04:00
Bill Meltsner
1c4a26da36
Fix a bug in User.nameLock which would prevent namelocking to specific names most of the time.
2012-05-08 03:36:05 -04:00
Guangcong Luo
b707663bf6
Make sure a lack of item/ability/etc doesn't evaluate to an item/ability/etc named 'undefined'
2012-05-07 22:41:28 -04:00
Guangcong Luo
10df844fd8
New Baton Pass implementation:
...
- now works properly when called by Copycat, Metronome, etc
2012-05-07 22:35:29 -04:00
Guangcong Luo
31ded288d6
Safeguard protects against tspikes now
2012-05-07 22:35:29 -04:00
Bill Meltsner
e3e6229d23
Use the Illegal tier as a default if a Pokemon isn't found in the tier list.
2012-05-07 22:17:16 -04:00
Bill Meltsner
72744978d3
Missed Meloetta-Pirouette in the Great ID Shift, which was letting people sneak Meloetta into OU matches.
2012-05-07 22:09:25 -04:00
Bill Meltsner
713684818f
Add a check for Unburden to the random Pokemon generator.
...
Unburden Pokemon, if they reach that point in the item selector, get a random Gem of the type of one of their damaging moves.
2012-05-07 20:02:30 -04:00
Bill Meltsner
3511ebe448
Remove Rotom-Fan's custom level scaling.
...
The maximum level of any useful Pokemon in randbats is now 90, so Rotom-Fan's should be as well.
2012-05-07 20:01:27 -04:00
Bill Meltsner
3456cae948
Add BL3 level scale to randbats.
...
Thanks, Jynx.
2012-05-07 20:00:11 -04:00
Bill Meltsner
e01ac393bc
Beat Up is implemented now, and so can be safely selected as a viable move in randbats.
...
Turns out the only randbat user of Beat Up is Houndoom, so, yay?
2012-05-07 19:58:49 -04:00
TheImmortal
5663857eb8
Jynx to BL3
2012-05-06 21:15:55 +04:00
Bill Meltsner
38dea45c4f
Flinch should trump confusion.
2012-05-05 20:05:33 -04:00
Guangcong Luo
c751e3f843
Show the correct Hidden Power type when Transforming.
2012-05-05 03:42:49 -04:00
TheImmortal
326dec34b8
Implement Zen Mode properly
2012-05-05 00:22:34 +04:00
TheImmortal
922960bf41
Secret Power effect
2012-05-04 13:36:17 +04:00
Guangcong Luo
f2ea2ec225
Some improvements to crash handler:
...
- Admins have access to /crashnoted, which will restore battling and chatting, but won't declare the crash fixed (since only sysops can fix bugs)
- /crashnoted and /crashfixed will automatically fail if PS is not in a lockdown state
2012-05-04 03:46:00 -04:00
Guangcong Luo
052057f7a5
Fix another crash in N's namelock code
2012-05-04 03:46:00 -04:00
TheImmortal
7d13502b41
Typo
2012-05-03 00:05:36 +04:00
TheImmortal
1f85829de2
Ingrain removes Ground type immunity
2012-05-02 01:58:17 +04:00
Guangcong Luo
e4ed58f179
hasVolatile isn't actually a function
2012-05-01 03:46:18 -04:00
Bill Meltsner
022a1963ab
Charge now boosts Electric moves properly.
2012-04-30 17:16:35 -04:00
TheImmortal
172a77ed1b
Big Root implementation
2012-05-01 01:11:50 +04:00