From The EQMac Wiki
This is the template for spells. The code is kind of confusing, so if you need to update this make sure that you test it in the sandbox first. Note that since there are a ton of spells on the wiki, any spell template modification will not take effect all at once. Rather, over time the wiki will get around to updating all of the various spell pages. (You can refresh a specific spell page manually by using the "refresh" button up top.)
Example Spell
This is an attempt to create an example spell with all possible template inputs on it for testing purposes.
| Slot | Description |
| 1 | Increase awesomeness by 1000 |
| 2 | Make pancakes |
| 3 | Clean house |
| 4 | Activate god-mode |
| 5 | Duplicate platinum |
| 6 | Kill all surrounding NPCs |
| 7 | Crash game world |
| 8 | Summon girlfriend |
| 9 | Make it rain candy |
| 10 | Buff computer speed |
| 11 | Make tradeskills easier |
| 12 | Increase attractiveness by 1000 |
| Effectiveness | 50 damage per second |
| Efficiency | 50 damage per mana |
| Cast by you | You get ready. |
| Cast by other | gets ready. |
| Cast on you | You feel awesome! |
| Cast on other | feels awesome! |
| Wears off | The awesomeness fades. |
See Also
Template Values
- Name (usually the page name, with some exceptions, like Feign Death (spell))
- Slot1
- Slot2
- Slot3, etc.
- Skill (Alteration, Evocation, etc.)
- Mana
- RangeToTarget
- CastingTime
- FizzleTime
- Duration (in seconds, or use 0 for an instant cast spell; use this as opposed to "Duration1" for a spell with a non-variable duration)
- Duration1 (use this for a spell with a variable duration based on level)
- Duration1Level
- Duration2
- Duration2Level
- RecastTime
- TargetType
- AERadius
- AEDuration
- PushBack
- SpellType
- Resist (Magic, Disease, etc.)
- Classes (must be in "DRU/1, ENC/14" form; if "Classes" if omitted altogether then template will assume "None")
- Reagent
- ReagentAmount (will default to 1 if this isn't there)
- Reagent2 (if there is more than one reagent)
- Reagent2Amount (will default to 1 if this isn't there)
- Reagent3, etc.
- Reagent3Amount, etc.
- RecourseEffect (for some necromancer and shadow knight spells; the name of the beneficial buff that you recieve for successfully casting this spell)
- Focus (an item that increases the power of the spell)
- Effectiveness (damage per second; in other words, damage / [casting + recast time])
- Efficiency (damage per mana; in other words, damage / mana)
- CastByYou
- CastByOther
- CastOnYou
- CastOnOther
- WearsOff
- LucyNumber (the number of the spell in the Lucy URL)