Dungeons of Dredmor

Dungeons of Dredmor

矮人模组工厂需要你!
创建并共享新物品、房间、技能、怪物以及更多!点击此处以了解更多。
[Lemons] w!z@rD 2014 年 3 月 28 日 上午 1:38
Problems with Encrusting Power
So I got this code:

encrustDB.xml:
<encrust name="Mobile Zorkmid Press" > <description text="Just don't show it to anyone..." /> <tool tag="tinkerer" /> <slot type="weapon" /> <input name="Malachite" /> <input name="Malachite" /> <input name="Voltaic Cell" /> <input name="Brass Mechanisms" /> <skill level="0" /> <power name="generate zorkmids" chance="1"/> <primarybuff id="3" amount="1"/> <encrustwith name="absolutely illegal things" /> <instability amount="19" /> </encrust>

itemDB.xml:
<power name="generate zorkmids" description="Gives zorkmids each time you attackkkkk." spell="generate zorkmids spell"/>

spellDB.xml:
<spell name="generate zorkmids spell" type="self"> <effect type="spawnitematlocation" itemname="zorkmids" amount="5" floorScaleF="1.1"/> </spell>

Now the problem is, no zorkmids are generated. I also tried different spell types and effects, but none worked.
Soo, where's the problem? 'Cause I certainly can't find it.


Also, I wanted to use powers on shoes encrusts, but according to Dredmod powers can only be used on weapons.
Is this true, and if yes, is there a workaround?
最后由 [Lemons] w!z@rD 编辑于; 2014 年 3 月 28 日 上午 2:34