Page 1 of 1

Elemental damage

Posted: Mon Oct 01, 2012 1:08 pm
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

Re: Elemental damage

Posted: Fri Oct 05, 2012 5:55 am
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? :)

Re: Elemental damage

Posted: Fri Oct 05, 2012 8:36 pm
by *Edwards
You can find the definitions from these into the documentations. And in this case frozen means the player cannot move ;).