How should this look if i want it to show protection to all? For example. Protection 20%
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, 'Magic Level: ' .. target:getMagicLevel())
Thats apart of a script im using atm.
And another thing how do i get this to show its ml and protection
00:56 You see a Leather Amulet.
Item ID: 2129.
<item id="2129" article="a" name="Leather Amulet">
<attribute key="weight" value="330" />
<attribute key="slotType" value="necklace" />
<attribute key="charges" value="1" />
<attribute key="magiclevelpoints" value="5" />
<attribute key="absorbPercentAll" value="1" />
</item>
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, 'Magic Level: ' .. target:getMagicLevel())
Thats apart of a script im using atm.
And another thing how do i get this to show its ml and protection
00:56 You see a Leather Amulet.
Item ID: 2129.
<item id="2129" article="a" name="Leather Amulet">
<attribute key="weight" value="330" />
<attribute key="slotType" value="necklace" />
<attribute key="charges" value="1" />
<attribute key="magiclevelpoints" value="5" />
<attribute key="absorbPercentAll" value="1" />
</item>