From: DivineLight <its...@us...> - 2005-07-30 01:01:23
|
Update of /cvsroot/planeshift/planeshift/src/server/bulkobjects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8198/src/server/bulkobjects Modified Files: psspell.cpp Log Message: fixed bugs 617, 811. Index: psspell.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/bulkobjects/psspell.cpp,v retrieving revision 1.84 retrieving revision 1.85 diff -C2 -d -r1.84 -r1.85 *** psspell.cpp 17 Jun 2005 14:10:09 -0000 1.84 --- psspell.cpp 30 Jul 2005 01:01:14 -0000 1.85 *************** *** 282,285 **** --- 282,286 ---- // All conditions for casting this spell are met! // START CASTING SPELL + caster->SetMode( PSCHARACTER_MODE_SPELL_CASTING ); castingText->Format("You start casting spell %s",name.GetData()); *************** *** 402,406 **** if (psserver->GetRandom()*100.0 > chanceOfSuccess) { ! effectText->Format("You failed to cast spell %s",name.GetData()); return false; } --- 403,409 ---- if (psserver->GetRandom()*100.0 > chanceOfSuccess) { ! // Spell casting failed now we are in Peace mode again ! caster->SetMode( PSCHARACTER_MODE_PEACE ); ! effectText->Format("You failed to cast spell %s",name.GetData()); return false; } |