diff --git a/src/common/gamecode/monster.c b/src/common/gamecode/monster.c
index b38c826d2..ad8049945 100644
--- a/src/common/gamecode/monster.c
+++ b/src/common/gamecode/monster.c
@@ -966,6 +966,7 @@ plan_monsters(void)
}
if (skill_enabled[SK_PERCEPTION]) {
/* Monster bekommen jede Runde ein paar Tage Wahrnehmung dazu */
+ /* TODO: this only works for playerrace */
produceexp(u, SK_PERCEPTION, u->number);
}
diff --git a/src/res/armor/scale.xml b/src/res/armor/scale.xml
new file mode 100644
index 000000000..aacb23aa2
--- /dev/null
+++ b/src/res/armor/scale.xml
@@ -0,0 +1,11 @@
+
+
+ -
+
+
+
+
+
+
+
+
diff --git a/src/res/e3a/armor.xml b/src/res/e3a/armor.xml
index 4a287e577..0bdb3294b 100644
--- a/src/res/e3a/armor.xml
+++ b/src/res/e3a/armor.xml
@@ -7,5 +7,6 @@
+
diff --git a/src/scripts/e3a/rules.lua b/src/scripts/e3a/rules.lua
index e4e826d16..2d137d2d0 100644
--- a/src/scripts/e3a/rules.lua
+++ b/src/scripts/e3a/rules.lua
@@ -1,5 +1,5 @@
-- when appending to this, make sure the item has a canuse-function!
-local goblin_denied = " plate lance mallornlance greatbow axe greatsword halberd rustyaxe rustyhalberd towershield "
+local goblin_denied = " plate lance mallornlance greatbow axe greatsword halberd rustyaxe rustyhalberd towershield scale "
function item_canuse(u, iname)
local race = u.race
if race=="goblin" then
@@ -11,6 +11,10 @@ function item_canuse(u, iname)
-- only dwarves and halflings allowed to use towershield
return race=="dwarf" or race=="halfling"
end
+ if iname=="scale" then
+ -- only dwarves and halflings can use scale
+ return race=="dwarf" or race=="halfling"
+ end
if iname=="towershield" then
-- only dwarves allowed to use towershield
return race=="dwarf"
@@ -19,10 +23,6 @@ function item_canuse(u, iname)
-- only elves use greatbow
return race=="elf"
end
- if iname=="plate" then
- -- goblins cannot use plate
- return race~="goblin"
- end
return true
end