Thread: new attack type [doesnt do damage]

Results 1 to 2 of 2
  1. #1 new attack type [doesnt do damage] 
    Registered Member
    Edd -'s Avatar
    Join Date
    Jul 2011
    Posts
    664
    Thanks given
    62
    Thanks received
    43
    Rep Power
    84
    working on aboss and this is one of the attacks for it its supposed to heal but when he uses the attack it does no damage/hitsplat just shows the attack anims/gfx
    and ideaS?

    Code:
    			if(npcs[i].attackType == 4) {
    				damage = Misc.random(npcs[i].maxHit);
    				npcs[i].HP = (npcs[i].MaxHP < npcs[i].HP + npcs[i].maxHit) ? npcs[i].MaxHP : npcs[i].HP + npcs[i].maxHit;
    				npcs[i].maxHit = 35;							
    			}
    Reply With Quote  
     

  2. #2  
    Registered Member Stewie1million's Avatar
    Join Date
    Jun 2011
    Posts
    588
    Thanks given
    2
    Thanks received
    56
    Rep Power
    14
    U forgot to add attack and def level?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. making special attack do magic damage?
    By g s t a r in forum Help
    Replies: 1
    Last Post: 05-22-2011, 02:42 AM
  2. Replies: 2
    Last Post: 06-05-2010, 11:54 AM
  3. Npc doesnt let me attack
    By *~Pwnt~* in forum Help
    Replies: 2
    Last Post: 01-01-2010, 04:07 AM
  4. Replies: 0
    Last Post: 06-24-2009, 09:39 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •