From: Anders R. <ma...@us...> - 2003-08-16 17:12:36
|
Update of /cvsroot/planeshift/planeshift/src/server/bulkobjects In directory sc8-pr-cvs1:/tmp/cvs-serv28237/src/server/bulkobjects Modified Files: psspell.cpp Log Message: - Added spell casting animations. Now the animation given in the db is played when a character cast a spell. Index: psspell.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/bulkobjects/psspell.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** psspell.cpp 16 Aug 2003 14:32:09 -0000 1.8 --- psspell.cpp 16 Aug 2003 17:12:33 -0000 1.9 *************** *** 127,133 **** { *effect = psSpellEffectMessage::BALL; ! castingEffect->Format("<EFFECT NAME=\"%s\" ENTITY=\"%d\" DURATION=\"%d\">%s</EFFECT>", casting_particle_system.GetData(),caster->GetEntity()->GetID(), ! casting_duration,casting_particle_override.GetData()); } else { --- 127,134 ---- { *effect = psSpellEffectMessage::BALL; ! castingEffect->Format("<EFFECT NAME=\"%s\" ENTITY=\"%d\" DURATION=\"%d\" ANIMATION=\"%s\">%s</EFFECT>", casting_particle_system.GetData(),caster->GetEntity()->GetID(), ! casting_duration,casting_animation.GetData(), ! casting_particle_override.GetData()); } else { |