Scriptname swordMagicGigaBreakScript 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 = PlayerActor.GetLevel()
	Damage *= swordBlastDamageRate.getValue() as float

	akTarget.DamageValue(HealthAV ,Damage)
	akTarget.PushActorAway(akTarget, 4.0)

	akTarget.StartCombat(akCaster)

EndEvent
