Usefulness of parry (simulation)
Megalith Games - Official Forums


Post Reply 
Usefulness of parry (simulation)
Author Message
03-13-2015 08:44 PM
Post: #1
Usefulness of parry (simulation)



CptBartender Offline
Junior Member
**

Posts: 30
Joined: Dec 2014
Hey everyone,

I've been lately thinking about the usefulness of Parry, and I've created a small Groovy script to simulate some 100k attack rolls and calculate the effectiveness of Parry against various MEL attacks. If anyone's curious, here's the script:
Code:
r = new Random();def roll(c){def res=0;for(i in (1..c))res+=r.nextInt(6)+1;res}
def pm = 7    //Princeptor's MEL
def pd = 13   //Princeptor's DEF
println "MEL\tHIT\tPARRY\tRATIO"
for (mel in (5..12)) {​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    def hit=0, parry=0
    for (i in (0..99999)) {
        def ar = mel + roll(2)
        if (ar >= pd​ && ar > mel+2) {
            hit++
            def dr = pm + roll(2)
            if ​(dr > ar) parry++
        }
    }
    println "$mel\t$hit\t$parry\t${parry/hit}"
}​​​
To use it, just copy it into any Groovy console (for example this one: http://groovyconsole.appspot.com/) and run the script (in case of the one linked, just press "Execute script" - it may take ~5 seconds). If you want, you can change Princeptor's MEL and MIS in lines 2 and 3 respectively. The columns show the effective MEL of the attacker, the amount of hits the attacker rolls, the amount of those hits stopped by Parry and a ratio of hits prevented to all hits that would have been scored without Parry.
Find all posts by this user Quote this message in a reply
03-16-2015 01:21 AM
Post: #2
RE: Usefulness of parry (simulation)



David Offline
Administrator
*******

Posts: 1,216
Joined: Jun 2012
Okay, sounds interesting. How about giving us a summary of your findings....
Find all posts by this user Quote this message in a reply
03-16-2015 11:48 AM
Post: #3
RE: Usefulness of parry (simulation)



CptBartender Offline
Junior Member
**

Posts: 30
Joined: Dec 2014
Damn... I forgot to paste the results in Sad my bad.

MEL HIT PARRY RATIO
5 41841 16316 0.3899524390
6 58059 20404 0.3514356086
7 72332 21650 0.2993142731
8 83299 20457 0.2455851811
9 91642 17581 0.1918443508
10 97199 14101 0.1450735090
11 97299 8087 0.0831149344
12 97245 4329 0.0445164276

Based on this I'd say there is no point in using Parry if Princeptor is about to face an enemy with MEL higher than 8, or multiple (3+) enemies with at least MEL 7.

Can't write more on this right now, I'll try to create a graph for easier reading later today.
Find all posts by this user Quote this message in a reply
03-17-2015 09:25 AM
Post: #4
RE: Usefulness of parry (simulation)



CptBartender Offline
Junior Member
**

Posts: 30
Joined: Dec 2014
Damn, didn't have time to get those charts done Sad

I'm starting to think that parry is not enough to consider Princeptor to be "safe" when he can be reached by anyone that I think Campaign Veteran might be a better use of his action points. This, or an ambidextrous strike instead of a deathblow against any potential threat.

Sure, I can try using parry, but If I go forward (like I always do... Sad ), it won't do me any real good.
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)