[Solved] About CP

This is a discussion on [Solved] About CP within the Warcraft 3 forum board part of the Hot Games category; Sorry for wasting yourtime, i just need your help. how to set range unit and cooldown attack(attack speed) with CP? ...

Results 1 to 5 of 5
  1. #1
    zectlect's Avatar
    zectlect is offline Mentor
    Array
    Join Date
    Sep 2009
    Location
    French
    Posts
    142
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    23

    [Solved] About CP

    Sorry for wasting yourtime, i just need your help.
    how to set range unit and cooldown attack(attack speed) with CP?

    like -range then add range unit to xxx
    and -aspd then attack cooldwon to xxx



    Thanks
    Last edited by zectlect; 06-23-2012 at 11:20 AM. Reason: solved

    facebook:facebook(dot)com/jhebkv

  2. #2
    haxorico is offline Mentor
    Array
    Join Date
    Feb 2009
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    31
    For as far as I know there is no way to change range unless it's by a skill (like sniper on dota)
    And for attack speed is either by skill or items.
    Fai cp had a command to give you gloves of haste but it would be invisible so I suggest taking a look at that.

    I am not so sure about range though I never checked how the skill was made in DotA.

  3. #3
    zectlect's Avatar
    zectlect is offline Mentor
    Array
    Join Date
    Sep 2009
    Location
    French
    Posts
    142
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    23
    thanks,

    i've create some item with various ability but, how to add that ability like ai.xx (fai cp) with my ability?
    but with jj's i must type -add xxx repeatedly.

    if vfai_fai=="ai."then
    if SubString(vfai_s7,3,6)=="all"then
    call getinvItem7(vfai_u7,1095332984) (attack damage)
    call getinvItem7(vfai_u7,1095332722) (magic resistance)
    call getinvItem7(vfai_u7,1095328816) (armor and)
    call getinvItem7(vfai_u7,1095332728) (attack speed)
    else

    how to make my ability invisible like that?

    facebook:facebook(dot)com/jhebkv

  4. #4
    haxorico is offline Mentor
    Array
    Join Date
    Feb 2009
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    31
    Check the function called getinvItem.

    I assume the variables are as follow:

    vfai_u7 = the picked unit
    and the integer variable is the item ID.

  5. The Following 2 Users Say Thank You to haxorico For This Useful Post:


  6. #5
    zectlect's Avatar
    zectlect is offline Mentor
    Array
    Join Date
    Sep 2009
    Location
    French
    Posts
    142
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    23
    okay thanks.

    facebook:facebook(dot)com/jhebkv

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •