diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-08 09:27:28 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-08 09:27:28 -0300 |
commit | fd36edaec91617152b2061c1158555145533f511 (patch) | |
tree | 46f0d9e165afa1e8ceefd785e217642e5d39b443 | |
parent | 5429d6fe2662f05fc6f270e9e207ba98af1eeb55 (diff) | |
download | tools-fd36edaec91617152b2061c1158555145533f511.tar.gz tools-fd36edaec91617152b2061c1158555145533f511.tar.bz2 tools-fd36edaec91617152b2061c1158555145533f511.tar.xz tools-fd36edaec91617152b2061c1158555145533f511.zip |
Register all mana skills here
-rw-r--r-- | Makefile | 3 | ||||
-rwxr-xr-x | client/skills.py | 47 |
2 files changed, 48 insertions, 2 deletions
@@ -62,11 +62,14 @@ news: client: @cd client ; ./weapons.py @cd client ; ./dailylogin.py + @cd client ; ./skills.py @cd client ; mv weapons.tmp ../../client-data/weapons.xml @cd client ; mv daily.tmp ../../client-data/graphics/images/daily.xml + @cd client ; mv skills.tmp ../../client-data/mana_skills.xml @cd client ; ./minimap-render.py all @cd client ; ./minimap-dyecmd.py ; ./minimap-dyecmd.sh cp client/minimap-override/* ../client-data/graphics/minimaps/ + @git checkout -- client/minimap-dyecmd.sh @echo "XML files and minimaps updated, please commit result on client-data." .PHONY: full diff --git a/client/skills.py b/client/skills.py index 8b8ec8e..4c8363b 100755 --- a/client/skills.py +++ b/client/skills.py @@ -31,6 +31,7 @@ def fillskill(sk, lv): lvstr='\t\t\tlevel="%d"\n' % lv else: lvstr='' + lv=1 msg='\ \t\t<skill\n\ @@ -38,13 +39,55 @@ def fillskill(sk, lv): \t\t\tname="%s"\n\ \t\t\ticon="graphics/skills/%s.png"\n\ \t\t\tdescription="%d MP. %s"\n\ -\t\t\tinvokeCmd="%s"\n\ +\t\t\tinvokeCmd="@sk-%s"\n\ %s\ \t\t/>\n' % (sid, name, icon, bmp+(amp*(lv-1)), desc, cmd, lvstr) return msg + + + + + + + + + + # Declare the skills -skills.append(Skill(20025, "Summon Maggots", "other/kalmurk", "2x Maggot Slime.", 200, 50, "@sk-kalmurk", 4)) + +######################### +### Transmutation Skills +######################### +skills.append(Skill(20024, "Parum", "other/parum", "Transmutate wood into stuff.", +50, 0, "parum", 0)) +skills.append(Skill(20026, "Make Potion", "transmutation", "10x plushroom, 1x milk. Create potions.", +185, -5, "mkpot", 20)) + +######################### +### Summon Skills +######################### +skills.append(Skill(20025, "Summon Maggots", "other/kalmurk", "2x Maggot Slime.", +200, 50, "kalmurk", 4)) +skills.append(Skill(20029, "Summon Dragon", "none", "5x Dragon Scale.", +500, 40, "dragokin", 5)) +skills.append(Skill(20030, "Summon Slimes", "none", "20x Maggot Slime.", +300, 30, "limerizer", 5)) +skills.append(Skill(20036, "Summon Snakes", "none", "1x Snake Egg.", +350, 60, "halhiss", 8)) +skills.append(Skill(20023, "Summon Cave Maggot", "none", "Req. Zarkor Scroll.", +400, 75, "zarkor", 3)) + + + + + + + + + + + # Begin f=open("skills.tmp", "w") |