Detecting Curse on others?

HammerFour

Active Member
Is there any way to get Curse added to the group member or actor data types?

I can't seem to find a way to detect a curse to cure it.....
 

Amadeus

The Maestro
Staff member
Before you ask things like this, you should always check the changes file. I did a search for 'curse' and got these results. What you're wanting has already been implimented.

Code:
October 29, 2008 -- By Amadeus
[ISXEQ2-20081025.0036]
* Added the following new EVENTS:
  1. EQ2_onMeAfflicted(int TraumaCounter, int ArcaneCounter, int NoxiousCounter, int ElementalCounter, int CursedCounter)
[B]  2. EQ2_onGroupMemberAfflicted(int ActorID, int TraumaCounter, int ArcaneCounter, int NoxiousCounter, int ElementalCounter, int CursedCounter)[/B]
  3. EQ2_onRaidMemberAfflicted(int ActorID, int TraumaCounter, int ArcaneCounter, int NoxiousCounter, int ElementalCounter, int CursedCounter)	
     - These events will fire ONCE at any point in which any of the counters are above zero and in which the total amount of all counters combined
       is different than what was observed during the previous 'check'
     - These events will only ever fire while you are in combat mode.
* Added new MEMBER to the 'isxeq2' datatype:
  1. AfflictionEventsOn         (bool type)
* Added new METHOD to the 'isxeq2' datatype:
  1. EnableAfflictionEvents
  2. DisableAfflictionEvents
  3. SetAfflictionEventsTimeInterval[#]   (# in milliseconds)
    - This sets the number of milliseconds interval that isxeq2 should wait before iterating through the 
      group/raid members (as well as yourself) in order to determine if anyone has been recently afflicted. 
      By default this is set to 500 milliseconds and should be good for most instances.  If you're noticing 
      lag or performance degredation, then you should raise this number.  One second (1000) SHOULD be the 
      highest you would ever need to go with most machines.   If you feel that 1/2 second is not a short 
      enough interval to handle your scripting needs, you could start lowering this until you see performance loss.
    - This particular setting is persistant and saved in isxeq2settings.xml
Code:
April 9, 2008 -- By Amadeus
[ISXEQ2-20080408.0024]
* Added new MEMBER to the 'character' and 'groupmember' datatype:
  1. Cursed                (bool type)
* Modified the 'IsAfflicted' MEMBER of the 'character' and 'groupmember' datatypes to return TRUE if
  the character in question is affected by a curse.
 

HammerFour

Active Member
Thanks!

Ahh, where would I find this changes file you speak of? :)

I looked on the wikia and didn't see the cursed member mentioned on groupmember.

Edit: I updated the wikia site to show Cursed being a member of groupmember.
 
Last edited:

Amadeus

The Maestro
Staff member
The Changes files are there in the Extensions directory along with ISXEQ2.dll.
 

geekatlrg

Active Member
Would like to add a little to this.. This is a great addition but I would like to see a check box for to cure curse or not to cure curse in some situations cueing the curse is bad. Like the naggy in tomc..
 

omgbot

Active Member
you might want to post that feature request in the eq2bot section in the scripts forum.

Pygar is the current maintainer of EQ2Bot, and will probably be more receptive to feature requests presented there.
 
Top Bottom