View difference between Paste ID: Tn5DqW2b and 4EVPdW81
SHOW: | | - or go back to the newest paste.
1-
[5/24/2014 8:45:51 PM] Vulajin: https://www.dropbox.com/s/nr92ly72ir1arh1/battle_plan.py
1+
2
[5/24/2014 8:46:21 PM] Vulajin: Input, in order, the things that you're going to do
3
[5/24/2014 8:47:02 PM] Vulajin: And it will total up the damage from actual damaging moves, taking into account modifiers that you apply (including specifically when they are used during the battle) and, after you enter "end" it will tell you the total damage range, including probabilities of all outcomes
4
[5/24/2014 8:47:55 PM] Vulajin: You give it a specific trainer (by ID, same as battle_sim.py) and a specific pokemon from that trainer (indexed by 0, so their first one is 0 and their second is 1, etc.), and it finds that poke's stats in trainer_data.py
5
[5/24/2014 8:48:11 PM] Vulajin: Moves that you use have to be properly set up in move_data.py
6
[5/24/2014 8:48:46 PM] Vulajin: If you want to apply a modifier like an X Attack or something, there are particular commands you enter instead of move names
7
[5/24/2014 8:48:49 PM] Vulajin: +xatk does an X Attack
8
[5/24/2014 8:48:54 PM] Vulajin: +xspatk does an X Sp Atk
9
[5/24/2014 8:49:10 PM] Vulajin: +xdfd has the opponent do X Defend
10
[5/24/2014 8:49:20 PM] Vulajin: Growth does +atk, +spatk
11
[5/24/2014 8:49:42 PM] Vulajin: +torrent applies Torrent/Blaze/Overgrow for further move usage
12
[5/24/2014 8:49:59 PM] Vulajin: -growl does Growl/Intimidate effect
13
[5/24/2014 8:50:05 PM] Vulajin: Leer and Tail Whip both do the right thing
14
[5/24/2014 8:50:26 PM] Vulajin: If you need some other sort of buff hooked up, I can do it
15
[5/24/2014 8:51:14 PM] Vulajin: Also at the end in the middle of damage distribution it also shows you the percentage chance of killing, if your sequence of actions does enough damage to possibly kill
16
[5/24/2014 8:51:22 PM] Vulajin: It's just a sum of the damage amounts that could kill
17
[5/24/2014 8:52:52 PM] OTHER PERSON: Awesome stuff man, this should be a huge help! Looking forward to going in on routing tomorrow.
18-
[5/24/2014 8:52:52 PM] Viskiv: Awesome stuff man, this should be a huge help! Looking forward to going in on routing tomorrow.
18+
19
[5/24/2014 8:55:16 PM] Vulajin: I've changed strats for so many fights with this
20
[5/24/2014 8:55:23 PM] Vulajin: I should've made this fucking months ago
21
[5/24/2014 8:56:19 PM] Vulajin: Incidentally, there's a high chance of bugs since it hasn't really been through the paces as much as the other scripts were when I gave them to you
22
[5/24/2014 8:56:29 PM] Vulajin: If you find something funky, let me know asap
23
[5/24/2014 8:56:33 PM] OTHER PERSON: Sure thing.