ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Wed May 27, 2020 9:06 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Sep 18, 2014 9:21 pm 
Offline
Sher'Tul

Joined: Fri Sep 21, 2007 3:18 am
Posts: 1081
Location: Angolwen
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


Top
 Profile  
 
PostPosted: Thu Sep 18, 2014 9:29 pm 
Offline
Uruivellas

Joined: Wed Apr 30, 2008 5:55 pm
Posts: 708
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. :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group