Author Topic: May be helpful for some (Paralyze - Instant MA)  (Read 2821 times)

0 Members and 1 Guest are viewing this topic.

Offline ChrisokTopic starter

  • Jr. Member
  • **
  • Posts: 46
  • Activity:
    0%
  • Reputation Power: 1
  • Chrisok has no influence.
  • Respect: +7
  • Referrals: 0
    • View Profile
May be helpful for some (Paralyze - Instant MA)
« on: April 11, 2013, 09:13:28 AM »
0
At work so i have not yet tested this but it should be fine, report any problems and i will fix.

Code: [Select]
Program Paramenot
var
ctime: TDateTime;

Procedure Arrow;
begin
  if Mana > 10 then
    begin
    Cast('Magic Arrow');
     WaitTarget(1,1000);
      TargetToObject(Self);
    end; 
end;


Procedure CheckJournal;
begin
 if InJournalBetweenTimes ('Paralyze', ctime, Now) <> -1 then
  begin
   Arrow;
  end;
end;

Could even go further to remove targetself or have it wait until journal reads "you feel yourself resisting" thus insuring you get para'd for those being attacked by slow fingers
« Last Edit: April 11, 2013, 09:27:25 AM by Chrisok »

Tags: