Jump to content

breaking charm


phordicus

Recommended Posts

some/all of the shout/help scripts are "dispelling" charmed bad guys. this block from dw#bandf is typical.

IF
!GlobalGT("helptarget","LOCALS",0)
Heard([ANYONE],751)
OR(3)
	!Class(Myself,MAGE_ALL)
	Global("instantprep","LOCALS",1)
	!See(NearestEnemyOf(Myself))
OR(3)
	!Class(Myself,CLERIC_ALL)
	Global("instantprep","LOCALS",1)
	!See(NearestEnemyOf(Myself))
OR(3)
	!Class(Myself,DRUID_ALL)
	Global("instantprep","LOCALS",1)
	!See(NearestEnemyOf(Myself))
THEN
RESPONSE #100
	Shout(751)
	Enemy()
	SetGlobal("helptarget","LOCALS",1)
	Continue()
END

[/size

 

any block that changes allegiance needs to check for current allegiance or charmed status at least.

 

edit: wow, this is in virtually all of the help shouts. can you tell me where i can add !StateCheck(Myself,STATE_CHARMED) before a re-install? it looks like helpadd.baf is the one to change.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...