Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local config = {}
- config.base = {
- --[...]
- }
- config.monster = {
- --[...]
- spells = {
- '<attack name="energy" interval="5000" chance="80" range="1" radius="1" target="1" min="-550" max="-675"><attribute key="areaEffect" value="209"/></attack>',
- '<attack name="barrier" interval="4000" range="2" min="-50" max="-60"/>',
- '<attack name="energy" interval="3000" chance="80" range="1" min="-2500" max="-3000"><attribute key="areaEffect" value="245"/></attack>',
- '<attack name="energy" interval="6000" chance="80" range="6" target="1" min="-5000" max="-7000"><attribute key="shootEffect" value="32"/><attribute key="areaEffect" value="4"/></attack>',
- }
- }
- local base, monster = config.base, config.monster
- local attacks = '<a>'
- for k, v in pairs(monster.spells) do
- attacks = attacks .. v
- end
- attacks = attacks .. '</a>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement