Scriptname AAAMashiraVoiceChangeScript extends activemagiceffect  

VoiceType Property MaleVoice  Auto  

VoiceType Property FemaleVoice  Auto 


 Event OnEffectStart(Actor Target, Actor Caster)
 

	      if Target.GetActorBase().GetSex() == 0
	         Target.GetActorBase().SetVoiceType(MaleVoice)
	      else
	          if Target.GetActorBase().GetSex() == 1
	             Target.GetActorBase().SetVoiceType(FemaleVoice)
	          endif
	      endif
	       debug.notification("VoiceChange Done")
 EndEvent


