SEVERANCE, BLADE OF DARKNESS

Prospero's pages

Updated July 21, 2005

HOME PAGEAUTHORS > PROSPERO > BOD PYTHON SCRIPTING (05)

 

Tut 5. Weapons

Most weapons will work properly with the basic creation code. Some need extra data. These are the 'special' weapons that have a particle system linked and have special damage (Fire,Ice,Poison,Light) that is only activated by the special combos.

What you need is:

ItemTypes.ItemDefaultFuncs(o)

*
import ItemTypes at top of file

As well as special weapons, all shields need this code as well as Bows and Quivers. The Ianna sword also.

Though they are not weapons, the Ghost Medallion (
"Amuletofantasma"), the Crown ("Corona") and Bracelet ("Brazalete") also need this code.

Enemies next.....