github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

evl / RaidStatus

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Extremely simple but configurable raid status monitor — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Update TOC for 3.3. Rewrote most of the member caching functions since 
raid1-40 isn't always accurate. 
evl (author)
Wed Dec 09 09:21:42 -0800 2009
commit  30ab2baad6c6b34d25d9b8c6d14a5cbea9423db0
tree    c7352e8752a37f5126557686524ab6fff666171c
parent  7838d09b84d962ca5b8199368eea9ea16cb462ac
RaidStatus /
name age
history
message
file README.textile Loading commit data...
file evl_RaidStatus.lua
file evl_RaidStatus.toc
README.textile

Modular text-based raid status monitor.

Customization

AddWatch accepts a name and a callback parameter which is fed with the unit id of a raider, a simple watch can be added as follows:

evl_RaidStatus:AddWatch("Dead", function(unit) return UnitIsDeadOrGhost(unit) end)

You can add much more complex callbacks:

local healerClasses = {"PRIEST", "SHAMAN", "DRUID", "PALADIN"}
local lowManaThreshold = 0.2

evl_RaidStatus:AddWatch("Low Healer Mana", function(unit)
	local class, classId = UnitClass(unit)

	-- We only want to include healer classes
	if healerClasses[classId] and UnitPowerType(unit) == 0 then
		return (UnitMana(unit) / UnitMaxMana(unit) <= lowManaThreshold)
	end
end)
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server