-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Starting commit * Adjustments * Globals generated * Chance to have higher mana/spell points for job spawns * Dispell projectile, more tweaks to spell book * Tweak & Fixes * Aimed healing * Fix * Category for dispells * Fixes * Trance duration fix * Health analyze improvement * Fix veil of shadows * Silly spells * Some tweaks and fixes * Aimed swap + some tweaks * Tweaks + Sounds * Magic orbs + Moving mana to mind * Tweaks & Fixes * Water slash, more tweaks * Water slash fixes/tweaks * Fix aimed "charge refunding" * Fixes * Fixes... * And fixes..... * Another one * Fix... Please... * Spellbook upgrades * Fix spellbook * Water slash stuff * Tweaks & Fixes * Fixes & Tweaks, again * Water slash checks in range instead of view * Flamethrower spell, more tweaks, remove "tower" subtypes * Tweaks! * Wizard den away site update * Fix * Remove map files that aren't added yet. * Oopsie * Fixes * Fixes naming of planetoid away sites * Some updates * Some tweaks * You can now write spells into the spellbook Using magic quill, you can add spells that you know to it. * End of everything :) * Fix * Assorted fixes * a * Fix * Onrush spell * Multitude of updates Code improvements, added fire ring and corpse explosion spells * Tweaks & Fixes * Gives corpse explosion an appropriate cooldown * Decoy effect fix * Linter fix * Tweaks + Aimed blink * More tweaks! * Fix/buff dispell effect on mobs * Updates * Balance & tweaks * Fix runtime * Should fix onrush * oopsie * fix * Healing spells tweaks & buffs * Tweaks & Fixes * Revive, not rejuvenate * Fix random spellbooks * Missing parent call * More epic updates! Consume magic & Mana burn spells added * Mana burn icon * Spell steal! * Fixes * More fixes * Batch of fixes * Nerfs polymorph * Some more tweaks * Consume magic sounds * Minor fixes * Dispell projectile tweaks * Minor balance * More fixes * Stuncuff spell nerf * Rebalance of healing spells, fix end of everything * Counter crystal spell * Some tweaks & fixes * Mend structures spell & Code tweaks * Adds turfs to mend structures * Variety of tweaks & fixes * Rework spell upgrade code * Tiny fix + Show max amount of upgrades in the spell book * Fixes * Makes certain spells invisible from normal books * Numerous bug fixes, adds restore limbs spell * Mana Drain, a lot of improvements * Updates CSS styles * Random blink nerfs * Tweaks warning span color
- Loading branch information
1 parent
40aa208
commit 721486e
Showing
162 changed files
with
44,286 additions
and
1,548 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// Defines for dispell strengths | ||
#define DISPELL_WEAK 1 | ||
#define DISPELL_MEDIUM 2 | ||
#define DISPELL_STRONG 3 | ||
#define DISPELL_UNSTOPPABLE 4 | ||
|
||
// All possible spell categories. Please follow them. | ||
#define SPELL_CATEGORY_FIRE "Fire" | ||
#define SPELL_CATEGORY_EXPLOSIVE "Explosive" | ||
#define SPELL_CATEGORY_HEALING "Healing" | ||
#define SPELL_CATEGORY_MOBILITY "Mobility" | ||
#define SPELL_CATEGORY_PASSIVE "Passive" | ||
#define SPELL_CATEGORY_ANTIMAGIC "Anti-magic" | ||
#define SPELL_CATEGORY_FORBIDDEN "Forbidden arts" | ||
|
||
// Spell flags | ||
#define GHOSTCAST 0x1 //can a ghost cast it? | ||
#define NEEDSCLOTHES 0x2 //does it need the wizard garb to cast? Nonwizard spells should not have this | ||
#define NEEDSHUMAN 0x4 //does it require the caster to be human? | ||
#define Z2NOCAST 0x8 //if this is added, the spell can't be cast at centcomm | ||
#define NO_SOMATIC 0x10 //spell will go off if the person is incapacitated or stunned | ||
#define IGNOREPREV 0x20 //if set, each new target does not overlap with the previous one | ||
//The following flags only affect different types of spell, and therefore overlap | ||
//Targeted spells | ||
#define INCLUDEUSER 0x40 //does the spell include the caster in its target selection? | ||
#define SELECTABLE 0x80 //can you select each target for the spell? | ||
#define NOFACTION 0x1000 //Don't do the same as our faction | ||
#define NONONFACTION 0x2000 //Don't do people other than our faction | ||
//AOE spells | ||
#define IGNOREDENSE 0x40 //are dense turfs ignored in selection? | ||
#define IGNORESPACE 0x80 //are space turfs ignored in selection? | ||
//End split flags | ||
#define CONSTRUCT_CHECK 0x100 //used by construct spells - checks for nullrods | ||
#define NO_BUTTON 0x200 //spell won't show up in the HUD with this | ||
|
||
// Invocation | ||
#define INVOKE_SHOUT "shout" | ||
#define INVOKE_WHISPER "whisper" | ||
#define INVOKE_EMOTE "emote" | ||
#define INVOKE_NONE "none" | ||
|
||
// Upgrading | ||
#define UPGRADE_SPEED "speed" | ||
#define UPGRADE_POWER "power" | ||
#define UPGRADE_TOTAL "total" | ||
|
||
// Casting costs | ||
#define SPELL_RECHARGE "recharge" | ||
#define SPELL_CHARGES "charges" | ||
#define SPELL_HOLDVAR "holdervar" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
GLOBAL_LIST_EMPTY(trusted_players) //CKeys of trusted players. | ||
|
||
// A global list of all available spell categories | ||
GLOBAL_LIST_INIT(spell_categories, list( | ||
SPELL_CATEGORY_FIRE, | ||
SPELL_CATEGORY_EXPLOSIVE, | ||
SPELL_CATEGORY_HEALING, | ||
SPELL_CATEGORY_MOBILITY, | ||
SPELL_CATEGORY_PASSIVE, | ||
SPELL_CATEGORY_ANTIMAGIC, | ||
SPELL_CATEGORY_FORBIDDEN, | ||
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.