Elemental damage

Open discussion forum. For topics that do not fit anywhere else.
Post Reply
Musclemonte
New User
Posts: 3
Joined: Thu Jul 19, 2012 2:31 am

Elemental damage

Post by Musclemonte »

Alright I know its a bit old of a core but im trying to deal with what i got. I am the new admin for Journeys end a old server from way back when. Anyway, im trying to add Cold damage to a few monster and i cant figure out how to do so. I have done it with poison because i had a guideline to go by poisonelementals. Any helpful hints?

Thanks
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: Elemental damage

Post by RusseL »

and where is the difference between normal damage and cold damage?

applyrawdamage(chr, 10);
chr.frozen(1);
sleep(1);
chr.frozen(0);

so? :)
User avatar
*Edwards
Forum Regular
Posts: 303
Joined: Fri Dec 28, 2007 11:19 pm

Re: Elemental damage

Post by *Edwards »

You can find the definitions from these into the documentations. And in this case frozen means the player cannot move ;).
Post Reply