Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function CharVitals(event, arg)
- local r = rex.new( "NL:\\d+/100 H:(\\d+)/(\\d+) M:(\\d+)/(\\d+) E:(\\d+)/(\\d+) P:(\\d+)/10 N:(\\d+)/(\\d+) W:(\\d+)/(\\d+)" )
- if r:match(arg) then
- talon.stats.health, talon.stats.healthMax,
- talon.stats.mana, talon.stats.manaMax,
- talon.stats.ego, talon.stats.egoMax,
- talon.stats.power, talon.stats.endurance,
- talon.stats.enduranceMax, talon.stats.willpower,
- talon.stats.willpowerMax = r:match(arg)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement