Re: Fragging Spells (Scrap) or whatever you call it

From: Anthony Rye (ajrye@ONE.NET)
Date: 09/21/98


On Mon, 21 Sep 1998, Jeramy Singleton wrote:

> What it does is when its casted... I think  it was "Ice Storm"
> When casted it sometimes destroyed some of the victims eq and
> objs in his inventory...
>
> I have no idea how to do this... Im just now learning to code..
> Im learning fast but i still don't know how to do this...

Try looking around in the following files, Spells.c, Spells.h, Magic.c

i think , when you write the program and if you have the dmgobj patch you
might be able to do a call to it something like:

ACMD(do_objdmg) (mind you i haven't messed with the above mentioned patch)

i dont think that would work, i think ya may have to do it in the ASPELLS

ASPELL ICESTORM
dmg = ??
etc

}
 if dmg == (??), od+ == OBJECT_DAMAGE

Oh well don't listen to me :) just making shots in the dark :)


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST