Thread: Vengeance problem D:

Results 1 to 9 of 9
  1. #1 Vengeance problem D: 
    Registered Member Verisimilitude's Avatar
    Join Date
    Mar 2012
    Age
    26
    Posts
    487
    Thanks given
    45
    Thanks received
    17
    Rep Power
    0
    Ehh fine then you guys... only o Java o actually helped me out and now it's fixed...







    Code:
    public void appendVengeance(Player o, int damage)
            {
                    o.forcedText = "Taste vengeance "+player.displayName+"!";
                    o.forcedChatUpdateRequired = true;
                    o.updateRequired = true;
                    o.vengOn = false;
                    if ((o.playerLevel[3] - damage) > 0)
                    {
                            damage = (int)(damage * 0.75);
                            if (damage > player.playerLevel[3])
                            {
                                    damage = player.playerLevel[3];
                            }
                            appendHit(player, damage, 0, -1, false);
                            player.getPA().refreshSkill(3);
                    }
                    	player.updateRequired = true;
            }
    [spoil][/spoil]
    Code:
    [Today 05:35 AM] Verisimilitude: My new siggy
    [Today 05:34 AM] Verisimilitude: Ikr
    [Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'

    Reply With Quote  
     

  2. #2  
    Registered Member o Java o's Avatar
    Join Date
    Sep 2014
    Posts
    183
    Thanks given
    14
    Thanks received
    19
    Rep Power
    0
    For the high hits, is that only when you use spec?

    And I could be wrong about this but you're hitting 727 and draining the player's entire hp in that one hit
    Code:
    if ((o.playerLevel[3] - damage) > 0) {
    Pretty much meaning if the player has 0 hp or less (dead) the vengeance won't cast

    But this:
    Code:
    o.forcedText = "Taste vengeance "+player.displayName+"!";
    Will still be called whether or not vengeance actually hits
    Reply With Quote  
     

  3. #3  
    Registered Member Verisimilitude's Avatar
    Join Date
    Mar 2012
    Age
    26
    Posts
    487
    Thanks given
    45
    Thanks received
    17
    Rep Power
    0
    Quote Originally Posted by o Java o View Post
    For the high hits, is that only when you use spec?

    And I could be wrong about this but you're hitting 727 and draining the player's entire hp in that one hit
    Code:
    if ((o.playerLevel[3] - damage) > 0) {
    Pretty much meaning if the player has 0 hp or less (dead) the vengeance won't cast

    But this:
    Code:
    o.forcedText = "Taste vengeance "+player.displayName+"!";
    Will still be called whether or not vengeance actually hits
    This happens when you hit 450+ How will I fix this? I honestly don't know :\
    [spoil][/spoil]
    Code:
    [Today 05:35 AM] Verisimilitude: My new siggy
    [Today 05:34 AM] Verisimilitude: Ikr
    [Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'

    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Apr 2012
    Posts
    5
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    Tried removing the if statement and seeing if it works then?
    Reply With Quote  
     

  5. #5  
    Registered Member Verisimilitude's Avatar
    Join Date
    Mar 2012
    Age
    26
    Posts
    487
    Thanks given
    45
    Thanks received
    17
    Rep Power
    0
    Quote Originally Posted by Chronicle View Post
    Tried removing the if statement and seeing if it works then?
    Nope, nothing. 40 views hardly replies, does anyone not know ? Someone help please :\
    [spoil][/spoil]
    Code:
    [Today 05:35 AM] Verisimilitude: My new siggy
    [Today 05:34 AM] Verisimilitude: Ikr
    [Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'

    Reply With Quote  
     

  6. #6  
    Registered Member o Java o's Avatar
    Join Date
    Sep 2014
    Posts
    183
    Thanks given
    14
    Thanks received
    19
    Rep Power
    0
    Quote Originally Posted by Verisimilitude View Post
    Nope, nothing. 40 views hardly replies, does anyone not know ? Someone help please :\
    It might be an issue with your appendHit method. I could teamview and help or if you want to send me your source via private message then I can fix it.
    Reply With Quote  
     

  7. #7  
    Registered Member Verisimilitude's Avatar
    Join Date
    Mar 2012
    Age
    26
    Posts
    487
    Thanks given
    45
    Thanks received
    17
    Rep Power
    0
    Bump the guy above me never logged back on. Sigh...
    Look at this picture, my was suppose to die


    [spoil][/spoil]
    Code:
    [Today 05:35 AM] Verisimilitude: My new siggy
    [Today 05:34 AM] Verisimilitude: Ikr
    [Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'

    Reply With Quote  
     

  8. #8  
    Registered Member Verisimilitude's Avatar
    Join Date
    Mar 2012
    Age
    26
    Posts
    487
    Thanks given
    45
    Thanks received
    17
    Rep Power
    0
    Bump! really need this. I'm always having 5-9 players on for the last 2 days I've had the server up.
    [spoil][/spoil]
    Code:
    [Today 05:35 AM] Verisimilitude: My new siggy
    [Today 05:34 AM] Verisimilitude: Ikr
    [Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'

    Reply With Quote  
     

  9. #9  
    Registered Member Verisimilitude's Avatar
    Join Date
    Mar 2012
    Age
    26
    Posts
    487
    Thanks given
    45
    Thanks received
    17
    Rep Power
    0
    Buuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuump

    I already fixed the prayer hit through, just need the vengeance :x
    [spoil][/spoil]
    Code:
    [Today 05:35 AM] Verisimilitude: My new siggy
    [Today 05:34 AM] Verisimilitude: Ikr
    [Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'

    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. Vengeance Skull Problem (PI)
    By Red Bull in forum Help
    Replies: 7
    Last Post: 06-27-2012, 04:26 AM
  2. [Allstar] Custom Vengeance problem
    By King Man002 in forum Help
    Replies: 12
    Last Post: 05-03-2012, 02:28 AM
  3. Vengeance - X Compiler Problem
    By Defiled-X in forum Help
    Replies: 2
    Last Post: 02-21-2012, 10:22 AM
  4. Fixing Log In\Out Problem
    By _Fear in forum Tutorials
    Replies: 11
    Last Post: 04-14-2010, 10:35 PM
  5. Vengeance Problem
    By Trytohaxme in forum Help
    Replies: 0
    Last Post: 10-12-2009, 09:19 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
  •