diff options
Diffstat (limited to 'wiki/sedesign.py')
-rwxr-xr-x | wiki/sedesign.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/wiki/sedesign.py b/wiki/sedesign.py index 7fcdb4a..90baa2d 100755 --- a/wiki/sedesign.py +++ b/wiki/sedesign.py @@ -424,8 +424,9 @@ def ItemWrite(tbl, ID=False, AEGIS=False, NAME=False, PRICE=False, WEIGHT=False, fc/=2.5 ## Progression - fc-=1.0 - fc+=((100-lv)/100.0) + if int(i.matk) <= 0 or int(at) > 0: + fc-=1.0 + fc+=((100-lv)/100.0) ## Even slower progression (note bows doesn't gets the 0.8 2hand bonus) if not i in IT_WEAPON['RANGED']: @@ -439,8 +440,12 @@ def ItemWrite(tbl, ID=False, AEGIS=False, NAME=False, PRICE=False, WEIGHT=False, if lv > 45 and not i in IT_WEAPON['RANGED']: fc-=(lv-45)/100.0 - ## Magic Weapons has rules of themselves + ## Magic Weapons adjustment if int(i.matk) > 0: + fc+=0.0 + + ## Physical and Magic Weapons adjustment + if int(i.matk) > 0 and int(at) > 0: fc=7.0+((100-lv)/100.0) ## HAT is for craft or rare items. |