summaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-21 03:57:44 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-21 03:57:44 -0300
commit2fd68480c11f3fac512274a84e603c214321fbf8 (patch)
tree813960a48d66334613f79d08dea4af994fb705f9 /wiki
parent708361d57d4c8592261876fb24830f5411974e33 (diff)
downloadtools-2fd68480c11f3fac512274a84e603c214321fbf8.tar.gz
tools-2fd68480c11f3fac512274a84e603c214321fbf8.tar.bz2
tools-2fd68480c11f3fac512274a84e603c214321fbf8.tar.xz
tools-2fd68480c11f3fac512274a84e603c214321fbf8.zip
SeDesign: Magic Weapons difference is: They use RAW damage calculations
This means a Legendary Wand is objectively better, unlike normal weapons
Diffstat (limited to 'wiki')
-rwxr-xr-xwiki/sedesign.py11
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.