[crossfire] [Re] [Crossfire] [Idea] Spells inmediate effects

Alberto Sáez Lodeiros cerzeo at gmail.com
Wed Mar 22 05:08:58 CST 2006


I dont speak on spells effects in the world. I say effects in the player
hitted by the spell.

I dont know how to program this at Python, but it can be something like this
(Visual Basic like code):

if playerHitByExplosion(PlayerID) then
castFear()
castConfussion()
doDamageToPlayer(10)
 endif

Public Sub castFear()
(here goes the general code for Fear effects)
 end sub

Public Sub CastConfussion()
(code for confussion)
 end sub

--
Powered By SuSE Linux 10.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.metalforge.org/pipermail/crossfire/attachments/20060322/5d30975c/attachment.htm 


More information about the crossfire mailing list