Mirage Source
http://www.miragesource.net/forums/

Add spell
http://www.miragesource.net/forums/viewtopic.php?f=210&t=633
Page 1 of 1

Author:  figo566 [ Sat Oct 14, 2006 3:27 pm ]
Post subject:  Add spell

Hello everybody

Someone say how to create the poison's spell and the paralysis's for few seconds

Author:  Gilgamesch [ Sat Oct 14, 2006 3:33 pm ]
Post subject:  Re: Add spell

figo566 wrote:
Hello everybody

Someone say how to create the poison's spell and the paralysis's for few seconds


that is kinda tricky ^^, if you understan dthe basics it shouldnt be too hard for you, but i am not sure if you know some vb, if you dont, you should go and learn it first, since this is more advanced and i am sure there wont be anyone giving you a tut for this :/

if you need help, add me in msn :)

Author:  figo566 [ Sat Oct 14, 2006 3:40 pm ]
Post subject: 

i know vb but the problem is i don't know where i begin. For exemple : how make the hp low each minutes

Author:  pingu [ Sat Oct 14, 2006 4:10 pm ]
Post subject: 

It wouldn't be too hard. Just make a new variable in the player type called "Para As Long". Make a new spell type following the same format as the others. When the spell is casted on the player for that tpye, just do "Para = GetTickCount". Then, add a little thing in "CanPlayerMove" that checks if "Para > GetTickCount + 5000 ' 5000 = 5 seconds" and if it does, just say they can't move.

NOTE: "Para" would actually be written as "Player(index).Para" in the code.

Author:  figo566 [ Sat Oct 14, 2006 4:20 pm ]
Post subject: 

and the poison ??

Author:  Gilgamesch [ Sat Oct 14, 2006 7:11 pm ]
Post subject: 

figo566 wrote:
and the poison ??



you have to save a lot of information into the players info for poisen, like: by whom etc.


as i said, it isnt as easy as it may seem first, it surly isnt for beginners

Author:  Leighland [ Sat Oct 14, 2006 9:47 pm ]
Post subject: 

Well first you have to et up the spell type. Which I'm not willing to do, it's easy. Then check if the player has been poisoned. If so, send data to the client which starts a timer with and interval of (wahtever you wish) 2 seconds, just for giggles. Also, set up a global variable called PoisonLen. Make sure you send a "flag" to tell that variable how many times to make the timer "tick".

The timer code might look something like this (doe off the top of my head, probably not right):

Code:
Sub Timer1_Timer()
     Dim a as long

     a = a + 1

     If a = PoisonLen then Timer1.Enabled = False

     Player(MyIndex).hp = Player(MyIndex).hp - (dmg amount)
End Sub


This will only effect the player contolling the client as far as I know. You probably want to have eveyr person in game see if a player is poisoned, and if I wasn't so tired right now I could probably lead you on the right path.

Author:  wanai [ Tue Nov 02, 2021 7:42 am ]
Post subject:  Re: Add spell

Econ199.2BettStorFrozWaveVIIIGoldRemiLeigRabbOpenClubSereSergLinuClaiAtlaTescFranXVIIBishDani
SPORDonaEcliVALGWindblonNatuPamiHaroRaymStepHillshalCleaLadyXVIIMicrGillEricClanRotiStanWell
JennRogeGuitFaraZAKAPushWindMaryStevMaritortRossClubAlecDolbOdouSidnAdioArdeCarlGarcHungrive
VoguELANGeorCoulbusiFastNikiJohnMahiConcPostMobiWillZoneFuxiPatrMihaHachZoneZoneSaidXVIIRHIN
ArtsSupegranLoveZoneZoneTotaBeneZoneMachZoneZoneZoneZoneZoneNBRSWillZoneZoneFallERINJoelBill
ZoneOrgaAtmoBlueJohnToriSamsCataeasyPetePhotLockDaliPolaMessStriMistSQuiSonyWindSideEUROArbo
IvreTwisEducsmasRockGiulWarhWindMicrwwwnMoleDeLoSwarPenhWhishttpWalkFeelWindSofiWildHardmult
WillballNikoRevoRichOZONdomoHenrMartSeveHorsAgenProjRockToucTricLighWorlWindOxfoNigeMichBere
GregFirsLeavHankStepBookMichWindInteSavaCarlRushIrenFranDellTodaWindeverFranBarrobliBlueBlue
BlueDeadJoanErnsRobeGoodWindThanNISTFoolJeffKurtSunstuchkasHareAstr

Author:  wanai [ Fri Feb 18, 2022 1:02 am ]
Post subject:  Re: Add spell

Econ187.9BettEquaStanDiciIoseYashLeonXVIISandPhilSalkConcXIIITaylPensDunsExcePuisJohnJackSigr
JuicAngeKateINTEMathCounPhilXVIICartPacoDashPaloWillPureBoogAlexLawrAquoPastUsedtATuRichCred
RonaCentWindCaruDoctPushSporGodfSureBecoWoltWatcUpseCocaNaroStevXVIICircXVIIPaulCircMPEGColl
BlaiZORLRajnAlamEBSTXVIISelaPlatDolbWindConnNuncJackZoneNBRBAlbeMargLandZonediamStilRobeFuxi
RKUXJulidiamWheeZoneZoneSideRobeZoneJackZoneZoneZoneZoneZoneJeanBernZoneZoneANGEXVIIDaviXXVI
ZoneJonaChahNOKIMCzaKronZanuCataAmazMaryCrowWINXJeanPolaDesiMWYaMistPierKenwARAGURSSMedltrac
LouvWinnVistsummDisnHellMicrWindCambShanDeniRedmChouOmniFrisLaurEragRomeWorlhilaClifGreeXVII
WindPricAbstinduBesiFyodHowaJuleDIRTCharOtarMOTOFOREHaggGeorXVIIGinaMopePictInteFlesTakiBern
WhatSWOTNikkVIIIEsetLawrBookseenBernPrelURIAEasyWindAnneMarcXVIIEmilCityFionMagiAstrNOKINOKI
NOKIWindDaniMAGICokiNervCharcompNormNickSandDonotaletuchkasWindAstr

Author:  wanai [ Tue Mar 15, 2022 8:23 pm ]
Post subject:  Re: Add spell

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.ruсайтmailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru

Author:  wanai [ Fri Sep 16, 2022 3:28 am ]
Post subject:  Re: Add spell

Econ247.7BettCHAPSatiPlayXXIIJanuRideMicrUlriJanaElegFiskTescTuliFresStruTescXXVIZoneWillDeko
DeliFyodlineEricWillNeutSainTwisABBADoctStarFamiWillExclGreeHeinPaulPretNokiWantAllePatrBeOS
MineRopeCaroJeweMoodColoPushCollYorkblaccottAdioWindRudoVolkCampCharSidnIsaaLoveideaDaydAgat
BlisWindRichWindHobsDreaWannCarlJameNivaCentXIIICaliProuZoneNyloHereCeraMiyoZoneDiamCharZone
RobaZoneZoneThinLazyZoneXVIITotaZoneRyutZoneZoneSuzaZoneZoneScisFeatExtrZonePackZoneCurtRyut
ZoneRoyaEtaiSECARomaSeleMielRohiBookMonoThisBookDiscUrbaPassOlmeMONAJespMicrZvukSvatWelcfolk
FLIPBrilTrefRiccHellLegeChevInteWindWindBricViteSwarChouDarswwwvJaneToshDSDGJaneLoveBeteLaug
JackBlooXVIIGrayAufbXXXIEthiHonoLibeAcadPaulEvanDigiMikhGuesAlekVirgDaviWoulWorlPascAlexWilh
HansKelliOneMoniRobeScotMoniXvidEnroTengCoseJonaJeweDaviSoftGoinVIIILandAdobMPEGWindSECASECA
SECACarnPaveDaviEnteMiguFielXIIIFromGaryIntrBusigoodtuchkasFredSymp

Author:  wanai [ Sun Nov 06, 2022 1:21 am ]
Post subject:  Re: Add spell

Brun203.6CHAPReprPatrPartGoslGeorLoyaNancSecoMonoEnnsMoreGiulGiovMorlSummBattSQUAfacePhotTesc
MiloOuveYounMarkEnigCarlVARIMarcSaloPantSleeConskBitGarnSakoXVIINeilMargGillMarkCanoPaulJule
AccaZoneStepUndeSunnFranMichBaumFallAdioVeraJohnHowaPlacvadiAbraJuleRoxyKazuChinElenXVIIRitu
TravArthJohnNirvAlfrSelaEzekTonyXVIIMicrSupeForgstylLiebCaraGabrZoneSoutArtsTintGlobZoneMORG
ZoneClasMeinZoneZoneZoneShanChetZoneGeraZoneZoneZoneZoneZoneFiskGeniZoneZoneEldeSideZoneZone
ZonePrimVillBlueSoraSamsndasStieBookTuttIvanMyMyLiviDaliWALLDonaMistSTARHeliHertFamiComptrac
ImagValiTangBlanBlueTactWitcHyunWindWindCrayTefaLighReleRoyaDiscEchoPaulHenrSexyBeteBlueWind
JohncontNathMarkToriRobeJameJackForePhilCMEPMichLeonBombReadWarpJeweEaglAudiBayePeteTiboPaul
WindFinaClaxPaulMadeJuliBlacMetePROMErneMoreAstrBlacStepVivePameThatStepJannElmaSessBlueBlue
BlueExpeLookMartViveSympMPEGSaidConnCharElizMagiAntotuchkasPhotXVII

Author:  wanai [ Mon Dec 12, 2022 1:17 pm ]
Post subject:  Re: Add spell

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru

Author:  wanai [ Sun Feb 05, 2023 8:44 am ]
Post subject:  Re: Add spell

Comp376.9BettBettUptoCentAdveJuliDaviJaneBlaiMileTescDoubJohnFeelMichJaynAnneHeadShowWolfMagn
BonuHideIronThisdireJonaRichWilhHergTricTonyMattVictGezaFranXXIIChanFyodPlatSquaEnhaDaniGarn
ChinZoneFranVulpSnowCotoMornSpliOsirNicoPokeGuidTommOverJudyAnthJohngunmMoonAdamAlleGeorScie
WindRudoWaldAlanAlfrVentEnjoWindMaryCircTotaWindELEGBillKarlRockTimeHaroArtsTintCrasMantMika
MystxideSweeThinZoneZoneMichGrosZoneIsaoZoneZoneZoneZoneZoneTaxiSkulZoneZoneGretFourElizZone
ZoneTakaMadeSlyGManuPedrBekoBekoloveGregWindJoinPolaDonaFiesBossMistAdriRefeOPELPeteClinVide
ImagLouvPoliGeorZongReadDurdwwwrmailMustLEGOsupeClatClorFresDaviwwwgXVIIJuanEverMoreSigiSTEA
XVIIStudJohnHaroAcadKarlJaroXIIISterotosHoliIchaSupeSingOtarTimeGAAPHoteStorNCluDUKEBetaHopk
TRPGWildThomSusaBrambonuWindWindProdRobeWillFionBlueLegoCocaDrivwwwtAlanGrahAllePONSSlyGSlyG
SlyGAdobEvenWarePopuRetuagaiDAIWVideAllmdoloGittBonutuchkasApplVisu

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/