Scriptname swordMagicGateofSynthScript extends activemagiceffect

import Utility

ActorValue property HealthAV  Auto Const

GlobalVariable Property swordBlastDamageRate  Auto

Event OnEffectStart(Actor akTarget, Actor akCaster)

	float Damage

	Actor PlayerActor =  Game.GetPlayer()

	Damage = 4 + (PlayerActor.GetLevel() / 4)
	Damage *= swordBlastDamageRate.getValue() as float

	akTarget.DamageValue(HealthAV ,Damage)

	akTarget.StartCombat(akCaster)

EndEvent

