mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
cleaned up magicstate and weaponskillstate
- todo: fix IsFacing - added thunder spell (todo: figure out why battleactionx10 crashes client on sending shit)
This commit is contained in:
@@ -21,7 +21,7 @@ function onEventStarted(player, command, triggerName, arg1, arg2, arg3, arg4, ta
|
||||
player:endEvent();
|
||||
return;
|
||||
end
|
||||
|
||||
|
||||
--Does the target exist
|
||||
target = player:getZone():FindActorInArea(targetActor);
|
||||
if (target == nil) then
|
||||
@@ -30,7 +30,7 @@ function onEventStarted(player, command, triggerName, arg1, arg2, arg3, arg4, ta
|
||||
return;
|
||||
end
|
||||
|
||||
player.Cast(command.actorId);
|
||||
player.Cast(command.actorId, targetActor);
|
||||
player:endEvent();
|
||||
|
||||
end
|
Reference in New Issue
Block a user