Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- affectsMap =
- {['You sense a divine protection.'] = 'Armor'
- ,['Your position appears shifted.'] = 'Displace'
- ,['You can sense good.'] = 'Detect Good'
- ,['You can sense evil.'] = 'Detect Evil'
- ,['You are surrounded by a billowing shield of flame.'] = 'Fire Shield'
- ,['Your movements are hastened.'] = 'Quickening'
- ,['You are protected by a shield of thorns.'] = 'Thorn Shield'
- ,['Nature protects from fire.'] = 'Flamelight'
- ,['You are embraced by earthen protection.'] = 'Embrace of Earth'
- ,['Your metabolic reactions are quickened.'] = 'Puissance'
- ,['You are embraced by shadows.'] = 'Embrace of Shades'
- ,['You are very hardy.'] = 'Hardiness'
- ,['You are able to bind lands together.'] = 'Landbinding'
- ,['The life of the forest fills your veins.'] = 'Ivy Armor - Forest(Hp Regen)'
- ,['The power of the mountains strengthens your legs.'] = 'Ivy Armor - Mountain(Mv Regen)'
- ,['You are noticeably skilled with swords.'] = 'Human - Sword Proficiency'
- }
- for k, v in pairs(player.affects) do
- player.affects[k] = nil
- end
- send('affect', false)
- tfe.triggerList[tempRegexTrigger([[^(.*?\.)]], function()
- local affect = matches[2]
- local diff = affect:len() - affectsMap[affect]:len()
- local filler = string.rep(" ", diff)
- player.affects[affectsMap[affect]] = true
- selectString(affect, 1)
- replace(affectsMap[affect]..filler)
- end)] = 'onPrompt'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement