pfrpg_core 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pfrpg_core/filters/ranged_attack_mod.rb +1 -1
- data/lib/pfrpg_core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5d4efdbc7e830aab0b37162a9cf52ea543af96d
|
4
|
+
data.tar.gz: fcfa6774391595d6212a215f9ba64b44c0275968
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e860fd013e57dc08770efdfb645a816fc74e6d2bf3598367db331312285f12d075da5aaf54c948588cfaf6cb85ef84584717ab92a25a94c56df78a3af1df74b
|
7
|
+
data.tar.gz: 4c1e7ce179f0b39ef56e9ac5c28a370200e12b0ab7bd9fddc3501018bb163e6c07ee9b5b969e771eaf6a3c69b9264cfcfbe14bab2ef710d47d85e764c7d4e48e
|
@@ -13,7 +13,7 @@ module PfrpgCore
|
|
13
13
|
def modify_attack_for_ranged_attack(attack, dex, str)
|
14
14
|
begin
|
15
15
|
ranged = attack.range.to_i
|
16
|
-
if !(ranged == nil || ranged == '' || ranged
|
16
|
+
if !(ranged == nil || ranged == '' || ranged <= 10)
|
17
17
|
attack.filter_str << "Range Bonus: -#{dex}, +#{str}"
|
18
18
|
attack.other_bonus += dex
|
19
19
|
attack.other_bonus -= str
|
data/lib/pfrpg_core/version.rb
CHANGED