| Everyone likes Cookies! So if you like this board, why not join? C'mon you get cool privileges like an avatar, a post count, a signature, and best of all, people trust your posts more. Just do it, trust me! It's EASY! Join us and be a bigger help to our project. Desirable results likely await you! If you like, posting in the joke sections only is ok too though, however it is not preferred. If you're already a member why aren't you logged in? Active members tend to be looked upto! Please log in to your account to access all of our features: |
| Acideffect must get working! | |
|---|---|
| Topic Started: Nov 1 2008, 03:54 AM (151 Views) | |
| Captain** | Nov 1 2008, 03:54 AM Post #1 |
|
Administrator
|
public class AcidEffect extends WeatherEffect { /** Creates a new instance of AcidEffect */ public AcidEffect(int turns) { super(turns); } public String getName() { return "Acid"; } public AcidEffect() { super(11); } public String getDescription() { return null; } public boolean immobilises(Pokemon p) { return false; } /** * Tick this effect for the whole field. */ protected void tickWeather(BattleField field) { field.showMessage("The Acid rages."); } /** * Remove this effect from a field. */ public void unapplyToField(BattleField field) { field.showMessage("The Acid stopped."); } /** * Does 1/16 of a Pokemon's health worth of damage each turn if the Pokemon is not * Ground, Rock, or Steel type, or has the sand veil ability. */ public boolean tickPokemon(Pokemon p) { if (!hasEffects(p.getField())) return false; if ((p.isType(PokemonType.T_GHOST)) || (p.isType(PokemonType.T_ELECTRIC)) || (p.isType(PokemonType.T_NORMAL)) || (p.hasAbility("Sand Veil"))) return false; int maximum = p.getStat(Pokemon.S_HP); int damage = maximum / 4; if (damage < 1) damage = 1; p.getField().showMessage(p.getName() + " is buffetted by the Acid!"); p.changeHealth(-damage, true); return false; } /** * Increase the evasion of a Pokemon with the Sand Veil ability. */ public boolean apply(Pokemon p) { if (m_applied[p.getParty()] || !(m_applied[p.getParty()] = hasEffects(p.getField()))) return true; if (p.hasAbility("Sand Veil")) { StatMultiplier mul = p.getMultiplier(Pokemon.S_EVASION); mul.multiplyBy(1.5); } if (p.isType(PokemonType.T_POISON) || p.isType(PokemonType.T_ICE) || p.isType(PokemonType.T_ELECTRIC)) { p.getMultiplier(Pokemon.S_ATTACK).multiplyBy(1.5); } return true; } /** * Restores the evasion of a Pokemon with Sand Veil when the Acid ends. */ public void unapply(Pokemon p) { if (!m_applied[p.getParty()]) return; m_applied[p.getParty()] = false; if (p.hasAbility("Sand Veil")) { StatMultiplier mul = p.getMultiplier(Pokemon.S_EVASION); mul.divideBy(1.5); } if (p.isType(PokemonType.T_POISON) || p.isType(PokemonType.T_ICE) || p.isType(PokemonType.T_ELECTRIC)) { p.getMultiplier(Pokemon.S_EVASION).divideBy(1.5); } } /** * Apply this effect to a field. */ public boolean applyToField(BattleField field) { field.showMessage("A Acid brewed!"); return true; } Why doesn't this work? |
|
09:39 umbreon_dan is this your weird furry porn again 09:39 Rising_Dusk Yes, it is. petrie911today I lost the battle with my tax return forms Rising_Dusk I'm saying you said what I said you said you said was said by you. I know people out there are wondering...so here goes capefeather: capefeatherwhat was the point of that video captaiNnone, which was exactly why I link it captaiNsame reason I post furry porn, not that, furry porn isn't awesome. "If Mr. Harper gets more seats than us, he'll try to form government. If I get more seats, it's me who will try to form government," [2011-04-13 21:40:51] <u> in MY buttcheeks [2011-04-13 21:40:51] <reachzero> Pianos are like guns [2011-04-13 21:40:55] <v> stole my favorite instrument [2011-04-13 21:40:56] <capefeather> hahaha [2011-04-13 21:40:56] <reachzero> you're cool if you have one [2011-04-13 21:41:01] <reachzero> but you don't always have one Kannon: he was mad because Plus and Captain did the impossible and stalled in LC HybridHerp: This is asia baby, copyright, break the law yeah right!! You can buy women here if you got the cash. Magmortified: Cheese is relative, according to Einstein. Magmortified: Or maybe it was time that was relative. But I don't think there's a big difference. Shigen: I hate floors. they're like walls, but too lazy too stand lJLeeRSX: im a big can of yours I asked my science teacher what the secret to a good marriage was once. Her answer: "Butter. Lots of it." Captain: So what do we all think of Blitz? Lord_Sunday: freaking internet predator Captain: he who controls the battlefield controls what? dex: the evil. Light: Scientific evidence proves that master chief is a panda Captain: "watching cute movies is like sex except without the sex" "As much as this game sucked this is an awesome game" "Nothing lik a nice warm cup of death and famine to start out your day..." -youtube | |
![]() |
|
| Captain** | Nov 1 2008, 04:34 AM Post #2 |
|
Administrator
|
STATUS | wrapper | 2008/10/31 23:23:10 | Launching a JVM... INFO | jvm 1 | 2008/10/31 23:23:10 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2008/10/31 23:23:10 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO | jvm 1 | 2008/10/31 23:23:10 | INFO | jvm 1 | 2008/10/31 23:23:10 | Shoddy Battle (June 2007) - http://shoddybattle.com INFO | jvm 1 | 2008/10/31 23:23:10 | By Colin James Fitzpatrick and Benjamin Gwin. INFO | jvm 1 | 2008/10/31 23:23:10 | This program is free software. INFO | jvm 1 | 2008/10/31 23:23:10 | Licensed under the GNU General Public Licence. No warranty. INFO | jvm 1 | 2008/10/31 23:23:10 | INFO | jvm 1 | 2008/10/31 23:23:10 | Loading properties file... INFO | jvm 1 | 2008/10/31 23:23:10 | Loading metagame definition file... INFO | jvm 1 | 2008/10/31 23:23:10 | Loading pokemon database... INFO | jvm 1 | 2008/10/31 23:23:11 | Loading move types for the Jewel generation... INFO | jvm 1 | 2008/10/31 23:23:12 | Initialising hold items... INFO | jvm 1 | 2008/10/31 23:23:13 | Initialising random number generator... INFO | jvm 1 | 2008/10/31 23:23:13 | Loading battle mechanics... INFO | jvm 1 | 2008/10/31 23:23:13 | Creating server... INFO | jvm 1 | 2008/10/31 23:23:13 | Adding shut down hook... INFO | jvm 1 | 2008/10/31 23:23:14 | Belly Drum is buggy. INFO | jvm 1 | 2008/10/31 23:23:14 | Applying patch file to database... INFO | jvm 1 | 2008/10/31 23:23:14 | Saved AccountRegistry to file. INFO | jvm 1 | 2008/10/31 23:23:14 | Warning: no existing species of Bitz. INFO | jvm 1 | 2008/10/31 23:23:14 | Warning: no existing species of Ho-oh. INFO | jvm 1 | 2008/10/31 23:23:14 | Warning: no such ability: Feeling Fine INFO | jvm 1 | 2008/10/31 23:23:14 | Warning: no such ability: Liquid Oooze INFO | jvm 1 | 2008/10/31 23:23:14 | Error: No such move: Triple Finish INFO | jvm 1 | 2008/10/31 23:23:14 | Warning: no existing species of placeholder. INFO | jvm 1 | 2008/10/31 23:23:14 | Warning: no existing species of placeholder. INFO | jvm 1 | 2008/10/31 23:23:14 | Error: No such move: Legacy INFO | jvm 1 | 2008/10/31 23:23:14 | Error: No such move: Divine Boost INFO | jvm 1 | 2008/10/31 23:23:14 | Warning: no such ability: Lucky Start INFO | jvm 1 | 2008/10/31 23:23:14 | Error: No such move: Frustration INFO | jvm 1 | 2008/10/31 23:23:14 | Warning: no such ability: Freezing Aura INFO | jvm 1 | 2008/10/31 23:23:14 | Error: No such move: Fling INFO | jvm 1 | 2008/10/31 23:23:14 | Error: No such move: Frustration INFO | jvm 1 | 2008/10/31 23:23:14 | Error: No such move: Sketch INFO | jvm 1 | 2008/10/31 23:23:14 | Warning: no such ability: Patriotism INFO | jvm 1 | 2008/10/31 23:23:15 | Warning: no existing species of Numel. INFO | jvm 1 | 2008/10/31 23:23:15 | Error: No such move: Legacy INFO | jvm 1 | 2008/10/31 23:23:15 | Warning: no such ability: Lucky Start INFO | jvm 1 | 2008/10/31 23:23:15 | Error: No such move: Tail Wind INFO | jvm 1 | 2008/10/31 23:23:15 | Warning: no such ability: Virus INFO | jvm 1 | 2008/10/31 23:23:15 | Error: No such move: Tri-Attack INFO | jvm 1 | 2008/10/31 23:23:15 | Warning: no such ability: Virus INFO | jvm 1 | 2008/10/31 23:23:15 | Warning: no such ability: Sandstorm INFO | jvm 1 | 2008/10/31 23:23:15 | Error: No such move: Sulfdestruct INFO | jvm 1 | 2008/10/31 23:23:15 | Error: No such move: Legacy INFO | jvm 1 | 2008/10/31 23:23:15 | Error: No such move: Stallf Mode INFO | jvm 1 | 2008/10/31 23:23:15 | Error: No such move: Triple Finish INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: 144 INFO | jvm 1 | 2008/10/31 23:23:16 | Warning: no such ability: Patriotism INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Legacy INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Legacy INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Legacy INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Thunderous Sky INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Final Finish INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Triple Finish INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Judgement INFO | jvm 1 | 2008/10/31 23:23:16 | Warning: no existing species of Dodou. INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Thunderous Sky INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Thunderous Sky INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Thunderous Sky INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Thunderous Sky INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Thunderous Sky INFO | jvm 1 | 2008/10/31 23:23:16 | java.lang.NumberFormatException: For input string: "F119" INFO | jvm 1 | 2008/10/31 23:23:16 | at java.lang.NumberFormatException.forInputString(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:16 | at java.lang.Integer.parseInt(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:16 | at java.lang.Integer.valueOf(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:16 | at shoddybattle.ModData.modifyStat(ModData.java:384) INFO | jvm 1 | 2008/10/31 23:23:16 | at shoddybattle.ModData.parsePatchLine(ModData.java:577) INFO | jvm 1 | 2008/10/31 23:23:16 | at shoddybattle.ModData.applyPatch(ModData.java:630) INFO | jvm 1 | 2008/10/31 23:23:16 | at shoddybattle.ModData.applyPatch(ModData.java:608) INFO | jvm 1 | 2008/10/31 23:23:16 | at shoddybattle.Main.main(Main.java:341) INFO | jvm 1 | 2008/10/31 23:23:16 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2008/10/31 23:23:16 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:16 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:16 | at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:16 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) INFO | jvm 1 | 2008/10/31 23:23:16 | at java.lang.Thread.run(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Legacy INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Divine Boost INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Thunderous Sky INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Thunderous Sky INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Thunderous Sky INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Thunderous Sky INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Thunderous Sky INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Thunderous Sky INFO | jvm 1 | 2008/10/31 23:23:16 | Warning: no such ability: Virus INFO | jvm 1 | 2008/10/31 23:23:16 | Error: No such move: Thunderous Sky INFO | jvm 1 | 2008/10/31 23:23:16 | Warning: no such ability: Sand Viel INFO | jvm 1 | 2008/10/31 23:23:16 | Warning: no existing species of Snitz. INFO | jvm 1 | 2008/10/31 23:23:16 | Warning: no existing species of I am a placeholder ignore me like bitz. INFO | jvm 1 | 2008/10/31 23:23:16 | Warning: no existing species of filler. INFO | jvm 1 | 2008/10/31 23:23:16 | Warning: no existing species of Syclant, 433, Female, 80.4, HP. INFO | jvm 1 | 2008/10/31 23:23:16 | Warning: no existing species of Revenankh. INFO | jvm 1 | 2008/10/31 23:23:16 | Saving mod data for download by client... INFO | jvm 1 | 2008/10/31 23:23:16 | Caching move sets... INFO | jvm 1 | 2008/10/31 23:23:19 | invalid stream header: 3B0E2CAF INFO | jvm 1 | 2008/10/31 23:23:19 | Unimplemented move: Fling INFO | jvm 1 | 2008/10/31 23:23:19 | Unimplemented move: Frustration INFO | jvm 1 | 2008/10/31 23:23:19 | Unimplemented move: Natural Gift INFO | jvm 1 | 2008/10/31 23:23:19 | There are 3 unimplemented moves. INFO | jvm 1 | 2008/10/31 23:23:19 | The move library is 99.435% implemented. INFO | jvm 1 | 2008/10/31 23:23:19 | Running server... INFO | jvm 1 | 2008/10/31 23:23:19 | Opening a TCP/IP socket on port 20864... INFO | jvm 1 | 2008/10/31 23:23:19 | java.net.BindException: Address already in use: JVM_Bind INFO | jvm 1 | 2008/10/31 23:23:19 | at java.net.PlainSocketImpl.socketBind(Native Method) INFO | jvm 1 | 2008/10/31 23:23:19 | at java.net.PlainSocketImpl.bind(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:19 | at java.net.ServerSocket.bind(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:19 | at java.net.ServerSocket.<init>(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:19 | at java.net.ServerSocket.<init>(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:19 | at netbattle.BattleServer.run(BattleServer.java:377) INFO | jvm 1 | 2008/10/31 23:23:19 | at shoddybattle.Main.main(Main.java:368) INFO | jvm 1 | 2008/10/31 23:23:19 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2008/10/31 23:23:19 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:19 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:19 | at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2008/10/31 23:23:19 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) INFO | jvm 1 | 2008/10/31 23:23:19 | at java.lang.Thread.run(Unknown Source) |
|
09:39 umbreon_dan is this your weird furry porn again 09:39 Rising_Dusk Yes, it is. petrie911today I lost the battle with my tax return forms Rising_Dusk I'm saying you said what I said you said you said was said by you. I know people out there are wondering...so here goes capefeather: capefeatherwhat was the point of that video captaiNnone, which was exactly why I link it captaiNsame reason I post furry porn, not that, furry porn isn't awesome. "If Mr. Harper gets more seats than us, he'll try to form government. If I get more seats, it's me who will try to form government," [2011-04-13 21:40:51] <u> in MY buttcheeks [2011-04-13 21:40:51] <reachzero> Pianos are like guns [2011-04-13 21:40:55] <v> stole my favorite instrument [2011-04-13 21:40:56] <capefeather> hahaha [2011-04-13 21:40:56] <reachzero> you're cool if you have one [2011-04-13 21:41:01] <reachzero> but you don't always have one Kannon: he was mad because Plus and Captain did the impossible and stalled in LC HybridHerp: This is asia baby, copyright, break the law yeah right!! You can buy women here if you got the cash. Magmortified: Cheese is relative, according to Einstein. Magmortified: Or maybe it was time that was relative. But I don't think there's a big difference. Shigen: I hate floors. they're like walls, but too lazy too stand lJLeeRSX: im a big can of yours I asked my science teacher what the secret to a good marriage was once. Her answer: "Butter. Lots of it." Captain: So what do we all think of Blitz? Lord_Sunday: freaking internet predator Captain: he who controls the battlefield controls what? dex: the evil. Light: Scientific evidence proves that master chief is a panda Captain: "watching cute movies is like sex except without the sex" "As much as this game sucked this is an awesome game" "Nothing lik a nice warm cup of death and famine to start out your day..." -youtube | |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Mimic Glitch, Server Discussion · Next Topic » |






5:01 AM May 24