Reply
Thread Tools Display Modes
Unread 11-28-12, 11:52 AM   #1
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,367
PowerType question

I checked. This was the powertype list as of patch 5.0.5
Code:
    0 - Mana (SPELL_POWER_MANA)
    1 - Rage (SPELL_POWER_RAGE)
    2 - Focus (SPELL_POWER_FOCUS)
    3 - Energy (SPELL_POWER_ENERGY)
    4 - Happiness (SPELL_POWER_HAPPINESS)
    5 - Runes (SPELL_POWER_RUNES)
    6 - Runic Power (SPELL_POWER_RUNIC_POWER)
    7 - Soul Shards (SPELL_POWER_SOUL_SHARDS)
    8 - Eclipse (SPELL_POWER_ECLIPSE)
    9 - Holy Power (SPELL_POWER_HOLY_POWER)
    10 - Alternate Power (SPELL_POWER_ALTERNATE_POWER)
    11 - Dark Force (SPELL_POWER_DARK_FORCE)
    12 - Light Force (SPELL_POWER_LIGHT_FORCE)
    13 - Shadow Orbs (SPELL_POWER_SHADOW_ORBS)
    14 - Burning Embers (SPELL_POWER_BURNING_EMBERS)
    15 - Demonic Fury (SPELL_POWER_DEMONIC_FURY)
12 got replaced by SPELL_POWER_CHI in patch 5.1

But what the heck is DARK_FORCE? When does this get used?
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline   Reply With Quote
Unread 11-28-12, 12:43 PM   #2
Barjack
A Black Drake
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 80
I think it was used by an earlier implementation of the Monk class, when the class's two resources were light and dark power.
Barjack is offline   Reply With Quote
Unread 11-28-12, 06:53 PM   #3
myrroddin
Premium Member
 
myrroddin's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 384
Blizzard probably realized they may get into trouble with the names "Light Force" and "Dark Force"; change the name of one, stop using the other, and any potential legal problems vanish.
myrroddin is offline   Reply With Quote
Unread 11-28-12, 08:22 PM   #4
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,405
I doubt there was any legal consideration. They just scrapped the dual power design in favor of the Chi design, and are just now updating the internal API to reflect the actual game design. It happens all time; old code gets left in while you're testing a new design, and it usually sticks around for a while even after you've settled on the new design until you remember (and have time) to go back and clean up the code.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » General Authoring Discussion » PowerType question

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off