From 2fd68480c11f3fac512274a84e603c214321fbf8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 21 Jun 2020 03:57:44 -0300 Subject: SeDesign: Magic Weapons difference is: They use RAW damage calculations This means a Legendary Wand is objectively better, unlike normal weapons --- wiki/sedesign.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'wiki') 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. -- cgit v1.2.3-60-g2f50