diff --git a/python/start/dragon_attune.py b/python/start/dragon_attune.py index 69aaa1309..ac939492f 100644 --- a/python/start/dragon_attune.py +++ b/python/start/dragon_attune.py @@ -36,19 +36,14 @@ faces = { } changer = Crossfire.WhoAmI() -try: - aname = Crossfire.ScriptParameters() - atype = getattr(Crossfire.AttackTypeNumber, aname.upper()) - player = changer - while player.Archetype.Name != 'pl_dragon': - player = player.Above - force = player.CheckArchInventory('dragon_ability_force') - force.Exp = atype - player.Anim = animations[atype] - player.Face = faces[atype] - changer.Say("current title: %s" % player.Title) - player.Title = '%s hatchling' % aname - changer.Say("Your metabolism is now focused on me.") -except: - import sys - changer.Say('erorr: %s' % sys.exc_info()[1]) +aname = Crossfire.ScriptParameters() +atype = getattr(Crossfire.AttackTypeNumber, aname.upper()) +player = changer +while player.Archetype.Name != 'pl_dragon': + player = player.Above +force = player.CheckArchInventory('dragon_ability_force') +force.Exp = atype +player.Anim = animations[atype] +player.Face = faces[atype] +player.Title = '%s hatchling' % aname +changer.Say("Your metabolism is now focused on me.")