Protect the player from "fields" or "clouds"?

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
Sradac
Sher'Tul
Posts: 1081
Joined: Fri Sep 21, 2007 3:18 am
Location: Angolwen

Protect the player from "fields" or "clouds"?

#1 Post by Sradac »

Is there any kind of built-in function I can use to protect the player against any kind of "field" or "cloud" effects, such as glacial vapour or the old acid fumes one?

If not, do they have some common identifier that I can use to make my own to check against? I suppose I could do the long way and check if damage type is GLACIAL_VAPOUR and any of the other ones but I'm hoping there's an easier way

grayswandir
Uruivellas
Posts: 708
Joined: Wed Apr 30, 2008 5:55 pm

Re: Protect the player from "fields" or "clouds"?

#2 Post by grayswandir »

You could superload engine.map:processEffects to set a flag somewhere letting you know it's in the middle of doing overlay effects.
Addons: Arcane Blade Tweaks, Fallen Race, Monk Class, Weapons Pack
Currently working on Elementals. It's a big project, so any help would be appreciated. :)

Post Reply