Scriptname MS12Mishaxhi
short Doonce
short Doonce1
begin OnActivate
if ( GetDead == 1 )
Return
else
Activate
endif
end
begin gamemode
if ( GetStage MS12 >= 90 ) && ( MS12.GhostWalk == 1 ) && ( Doonce == 0 )
Evp
set Doonce to 1
endif
if ( GetStage MS12 >= 90 ) && ( MS12.GoAttack == 1 ) && ( Doonce1 == 0 )
ModAv Aggression 90
StartCombat Player
set Doonce1 to 1
endif
end
begin OnPackageEnd MS12MishaxhiDone
Disable
MS12SecretWallRef.playgroup forward 0
setstage MS12 100
end
begin OnDeath
if ( Player.GetInCell PalePass03 == 1 )
Disable
MS12SecretWallRef.playgroup forward 0
setstage MS12 105
else
Disable
MS12SecretWallRef.Disable
setstage MS12 105
endif
end |