diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-28 19:19:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-28 19:19:02 +0300 |
commit | 601607488ae529b7dfd9bd55afd0e89e42762281 (patch) | |
tree | 0006e7c0f7546452037362a10750f3f17e1924aa /data | |
parent | b29b80ccc9a22d8d4b3acf4b251bc2388b82027f (diff) | |
download | manaverse-601607488ae529b7dfd9bd55afd0e89e42762281.tar.gz manaverse-601607488ae529b7dfd9bd55afd0e89e42762281.tar.bz2 manaverse-601607488ae529b7dfd9bd55afd0e89e42762281.tar.xz manaverse-601607488ae529b7dfd9bd55afd0e89e42762281.zip |
Dehardcode default spells/commands.
Read commands from defaultcommands.xml.
Also improve a bit saving commands in spellmanager.
Diffstat (limited to 'data')
-rw-r--r-- | data/perserver/default/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/perserver/default/Makefile.am | 1 | ||||
-rw-r--r-- | data/perserver/default/defaultcommands.xml | 158 |
3 files changed, 160 insertions, 0 deletions
diff --git a/data/perserver/default/CMakeLists.txt b/data/perserver/default/CMakeLists.txt index 19cf3686d..1c13e9a5b 100644 --- a/data/perserver/default/CMakeLists.txt +++ b/data/perserver/default/CMakeLists.txt @@ -2,6 +2,7 @@ SET (FILES charcreation.xml chatcommands.txt deadmessages.xml + defaultcommands.xml features.xml gmcommands.txt weapons.xml diff --git a/data/perserver/default/Makefile.am b/data/perserver/default/Makefile.am index 5b478d82d..cfbef29e7 100644 --- a/data/perserver/default/Makefile.am +++ b/data/perserver/default/Makefile.am @@ -4,6 +4,7 @@ default_DATA = \ charcreation.xml \ chatcommands.txt \ deadmessages.xml \ + defaultcommands.xml \ features.xml \ gmcommands.txt \ weapons.xml diff --git a/data/perserver/default/defaultcommands.xml b/data/perserver/default/defaultcommands.xml new file mode 100644 index 000000000..f7e564b94 --- /dev/null +++ b/data/perserver/default/defaultcommands.xml @@ -0,0 +1,158 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Author : 4144 +(C) ManaPlus Developers 2014 --> +<commands> + <command id="0" + name="lum" + command="#lum" + comment="heal with lifestones" + target="allow target" + icon="" + skill1="340" + level1="1" + skill2="341" + level2="0" + mana="6" + /> + <command id="1" + name="inm" + command="#inma" + comment="" + target="need target" + icon="" + skill1="340" + level1="2" + skill2="341" + level2="2" + mana="10" + /> + <command id="2" + name="fla" + command="#flar" + comment="" + target="no target" + icon="" + skill1="340" + level1="1" + skill2="342" + level2="0" + mana="10" + /> + <command id="3" + name="chi" + command="#chiza" + comment="" + target="no target" + icon="" + skill1="340" + level1="1" + skill2="342" + level2="0" + mana="9" + /> + <command id="4" + name="ing" + command="#ingrav" + comment="" + target="no target" + icon="" + skill1="340" + level1="2" + skill2="342" + level2="2" + mana="20" + /> + <command id="5" + name="fri" + command="#frillyar" + comment="" + target="no target" + icon="" + skill1="340" + level1="2" + skill2="342" + level2="2" + mana="25" + /> + <command id="6" + name="upm" + command="#upmarmu" + comment="" + target="no target" + icon="" + skill1="340" + level1="2" + skill2="342" + level2="2" + mana="20" + /> + <command id="7" + name="ite" + command="#itenplz" + comment="" + target="no target" + icon="" + skill1="340" + level1="1" + skill2="344" + level2="0" + mana="3" + /> + <command id="8" + name="bet" + command="#betsanc" + comment="" + target="allow target" + icon="" + skill1="340" + level1="2" + skill2="344" + level2="2" + mana="14" + /> + <command id="9" + name="abi" + command="#abizit" + comment="" + target="no target" + icon="" + skill1="340" + level1="1" + skill2="340" + level2="1" + mana="1" + /> + <command id="10" + name="inv" + command="#inwilt" + comment="" + target="no target" + icon="" + skill1="340" + level1="2" + skill2="340" + level2="2" + mana="7" + /> + <command id="11" + name="hi" + command="hi" + comment="" + target="no target" + icon="" + /> + <command id="12" + name="hea" + command="heal" + comment="" + target="no target" + icon="" + /> + <command id="13" + name="@sp" + command="@spawn maggot 10" + comment="" + target="no target" + icon="" + /> +</commands> |