* Moved most hard-coded non-standard unrandart behaviour to art-func.h,

specifically code for equipping, unequpping, an equipped unrandart doing something every time world_reacts() is called (special wield effects), melee hit effects, and evoking. Left hardcoded outside of art-func.h:

  • Sword of Cerebov temproarily downgrading the defender's fire resistance.

  • Staff of Olgreb boosting poison spells, as if it were a staff of poison.

  • Vampire's Tooth always getting maximal vampiric drain.

  • Mace of Variablity's initial pluses being chosen at creation time.

  • Since what used to be special wield effects is now handled very differently, noisy weapons and the lantern of shadows effects are handled with player attributes rather than SPWLD_NOISES and SPWLD_SHADOW.

  • Unrandarts can now have an elemental colour for their colour (currently only used for the Mace of Variability).

  • Unrandarts' value modification, being special, and being evil are now handled in art-data.txt rather than being hardcoded.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10055 c06c8d41-db1a-0410-9941-cceddc491573

Created by  zelgadis  on June 27, 2009
4QYXUNAH54YJPAHB42Z3PPG7MGWGZ3G6Q5V2GTVOAB4MWECG52IAC
Dependencies
In channels
main
Change contents