pfrpg_core 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56532030a6a1c5cb08a34028793da379b539e7d6
4
- data.tar.gz: d2b26071a4387ea11e75bd3ad5ebc29c32885092
3
+ metadata.gz: 9fde1b1f647dbb10923f4e99c7b15b6ddf7be2e4
4
+ data.tar.gz: 6bb4aaaeffaf266c7ad4c91db70f746d3f10b098
5
5
  SHA512:
6
- metadata.gz: 822c0968f86ec03b87b2075e7f752a7387abec5ca6d2c383c595e413ee9a23ff94c65c675576cda07926780789690876f8a61c0136031be7eaa4640cd5d4a73d
7
- data.tar.gz: 59a49995e936a540867619c328c83f0666d5b820814acede2092f0d6ec2b0adccbae58f995a3a37466a3705177756a172ea36c3b72cd7c7c31f362e92c2fe03c
6
+ metadata.gz: 2d7f720443af64bcdd099f98b31c292160988f210a4afa31e4b889785dae2ef40f0e8469a77c3b39ad0e90f3d6df9d52352fb25c39251616382f4020608dd3e3
7
+ data.tar.gz: c7a02ef861adf8ba90796cb5b31dfb4900aa182be2ef6d01cdb84ff81c6b55cadab9a36d366453dd49854c323aefed7fbad6ec7ec5a4ad11ee85a851d3387e80
@@ -2,7 +2,11 @@ module PfrpgCore
2
2
  module Derived
3
3
  module Offense
4
4
  def combat_maneuver_bonus
5
- base = str_bonus + bab - size_modifier
5
+ bonus = str_bonus
6
+ if character.feats.find { |x| x.name == 'Agile Maneuvers' }
7
+ bonus = dex_bonus
8
+ end
9
+ base = bonus + bab - size_modifier
6
10
  misc = character.get_bonus('cmb').to_i
7
11
  base += misc
8
12
  return base
@@ -33,7 +33,7 @@ module PfrpgCore
33
33
  end
34
34
 
35
35
  def read_str(str)
36
- str.split(':')[1].split(';')[0]
36
+ str.split(':')[1].split(';')
37
37
  end
38
38
 
39
39
  def is_proficient_in_weapon?(weapon)
@@ -1,3 +1,3 @@
1
1
  module PfrpgCore
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pfrpg_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan OMara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-13 00:00:00.000000000 Z
11
+ date: 2015-08-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: core
14
14
  email: