Not last spell casted. menu

User Tag List

Results 1 to 5 of 5
  1. #1
    NessK's Avatar Member
    Reputation
    13
    Join Date
    Jan 2015
    Posts
    100
    Thanks G/R
    2/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Not last spell casted.

    Trying to deal with spells that are in flight and PE recasting them. I can see the below, but does this work like

    !spell.casted(Sunfire) ??

    Code:
    ProbablyEngine.condition.register("spell.casted", function(target, spell)
        return ProbablyEngine.module.player.casted(GetSpellName(spell))
    end)
    Is there a last casted function ??

    Not last spell casted.
  2. #2
    turtlemans's Avatar Member
    Reputation
    1
    Join Date
    Jan 2013
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the condition you're looking for works like this:

    Code:
     "!lastcast(spellid)",
    Adding this condition would prevent the ability from triggering if the spellid within the parenthesis was the last cast spell.

  3. #3
    StinkyTwitch's Avatar Active Member
    Reputation
    40
    Join Date
    Nov 2014
    Posts
    172
    Thanks G/R
    19/13
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think what he's saying is that PE has moved on to another spell by the time that spells actually lands and registers "success" in the COMBAT_LOG.
    "Shootings easy, Aimings hard!" Stinky

  4. #4
    ImogenOC's Avatar Contributor ProbablyEngine Community Manager
    Reputation
    173
    Join Date
    Nov 2013
    Posts
    364
    Thanks G/R
    0/8
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check Spell_ID instead of language, and use /pe al
    Success register is instantaneous, as the cast packet is immediately returned with a packet of what the attack did. Unless your ping > your GCD, it will register.
    ProbablyEngine - Developer and Lead Support
    A Powerful Rotation Bot: ProbablyEngine

  5. #5
    NessK's Avatar Member
    Reputation
    13
    Join Date
    Jan 2015
    Posts
    100
    Thanks G/R
    2/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks guys. Will give it a shot.

Similar Threads

  1. Sap / spell cast bug
    By Merinor in forum World of Warcraft Exploits
    Replies: 23
    Last Post: 05-31-2008, 05:19 PM
  2. Spell Casting GameObject
    By demonze in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 04-20-2008, 06:06 PM
  3. Bug of casting, instant spells. Cast while CC:ed
    By junga in forum World of Warcraft Exploits
    Replies: 13
    Last Post: 03-15-2008, 05:03 PM
  4. Instant Spell Cast
    By strobel in forum World of Warcraft Exploits
    Replies: 18
    Last Post: 03-15-2008, 04:57 AM
  5. Instant Spell CAST
    By djblade17 in forum World of Warcraft Emulator Servers
    Replies: 17
    Last Post: 11-10-2007, 06:18 PM
All times are GMT -5. The time now is 09:26 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search