Thread: Resists
View Single Post
  #1  
Old 05-22-2002, 07:20 AM
Wiz
Dragon
 
Join Date: Feb 2002
Posts: 583
Default Resists

I'm working on some code for spell resists. As of right now, I have a very crude version, that does the following:

- Checks against resist based on level, NPC/Client (NPC's resist easier), and spell resist bonus.
- Has a 6-level limit on mobs you can land spells on.
- Subtracts damage from a DD-only spell, completely resists all other spells upon a successful resist (it's easier to resist a DD-only)

My two problems are:

- I can't figure out how to declare resist type from spdat.eff
- I can't figure out how to declare MR/FR/CR/PR/DR of the mob/player.

I'd really appreciate any help with this, and if I can figure these out, I'm writing up a much more advanced version.
Reply With Quote