Regards Player Buffs. menu

User Tag List

Results 1 to 7 of 7
  1. #1
    ImCrave's Avatar Member
    Reputation
    1
    Join Date
    Jul 2014
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Regards Player Buffs.

    Hello OwnedCore, and ProbablyEngine users.

    I'm currently in the works of making a series of DPS-profiles for the current patch of WoW Legion.

    - Though! This is my first time trying to code such scripts, and I have a few questions about it.

    As an enhancement shaman, havoc demonhunter etc. we gain a player buff from doing certain skills, and we need to maintain uptime on that as much as possible.

    - I don't know how to code this properly, without it just getting spammed when off CD.

    Let's take enhancement shaman as an example:
    Landslide & Boulderfist buffs has an player buff of a duration of 10seconds.
    Flametongue with a duration of 16seconds.

    My issue is how to code this properly? - My current code is as following: { "Flametongue", { "modifier.multitarget", "player.buff(flametongue).duration >= 2 "},
    as it seems at this point, I don't know if I need to properly code in other things.

    Please respond asap.
    Last edited by ImCrave; 10-31-2016 at 03:15 PM.

    Regards Player Buffs.
  2. #2
    DocZ's Avatar Member
    Reputation
    1
    Join Date
    Dec 2014
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am not sure what you are trying to do, but here is a snippet of a Havoc routine that might help:

    Code:
    	{
    		{
    			{ "Vengeful Retreat", 
    				{
    				"talent(5,1)", -- Momentum
    				"!player.buff(Momentum)",
    				"player.spell(Fel Rush).charges > 0"
    				}
    			},
    		
    			{
    				{
    					{ "Vengeful Retreat", 
    						{
    						"talent(2,1)", -- Prepared
    						"player.fury < 80"
    						}
    					},
    						
    					{ "Fel Rush", 
    						{
    						"talent(1,1)",  -- Fel Mastery
    						"player.fury < 70"
    						}
    					}
    				},
    				"!talent(5,1)" -- No Momentum
    			}
    		},
    		"toggle.VengefulRetreat"
    	},
    DoZ

  3. #3
    ImCrave's Avatar Member
    Reputation
    1
    Join Date
    Jul 2014
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @DocZ

    I'm trying to maintain a buff. - Flametongue applies a buff on shaman which also is called "Flametongue" and is something that proccs nature damage whilst AA'ing. So my question was, to keep the buff from Flametongue up full time what am I supposed to write? - The snippet you linked doesn't help in this scenario.

    I want the Flametongue buff to not go beneath 3 seconds. I can use it without having a condition for it, but then it would be another kind of damage loss.

    I'm quite new to this "creating profiles".

  4. #4
    DocZ's Avatar Member
    Reputation
    1
    Join Date
    Dec 2014
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You have it to cast whenever the buff has MORE than or EQUAL to 2 seconds. You want it the other way around. SO it will cast if the buff has LESS then the amount of time you choose.

    Just change it a little then:

    Code:
    From:
    { "Flametongue", { "modifier.multitarget", "player.buff(flametongue).duration >= 2 "},
    
    To:
    { "Flametongue", { "modifier.multitarget", "player.buff(Flametongue).duration <= 2 "},

  5. #5
    ImCrave's Avatar Member
    Reputation
    1
    Join Date
    Jul 2014
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll try that, but I have tried changing those values aswell, but it wouldnt work.

  6. #6
    DocZ's Avatar Member
    Reputation
    1
    Join Date
    Dec 2014
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make sure there in no space behind the 2

  7. #7
    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)
    Originally Posted by ImCrave View Post
    I'll try that, but I have tried changing those values aswell, but it wouldnt work.
    Seen this quite a few times. Options; Use spell ID's instead (there are quite a few for a single spell); I use player.debuff(SPELL) and it has fixed the issue.

    Try this.
    { "Flametongue", { "modifier.multitarget", "player.buff(193796).duration <= 2"},
    or
    { "193796", { "modifier.multitarget", "player.debuff(Flametongue).duration <= 2"},

Similar Threads

  1. Dumping Player Buffs
    By luciferc in forum WoW Memory Editing
    Replies: 37
    Last Post: 02-20-2011, 11:53 AM
  2. [C#]Dump Player Buff's
    By Mc-fly in forum WoW Memory Editing
    Replies: 9
    Last Post: 08-29-2010, 06:04 PM
  3. [Lua Script] Chat Commands For Players, Buff me!
    By Confucius in forum WoW EMU General Releases
    Replies: 29
    Last Post: 07-13-2010, 03:20 AM
  4. Question regarding player rotation?
    By omg123 in forum World of Warcraft General
    Replies: 2
    Last Post: 06-02-2009, 07:34 PM
  5. [Exploit] Level 65 Buff on Level 1 player.
    By atticus589 in forum World of Warcraft Exploits
    Replies: 7
    Last Post: 03-10-2008, 04:23 PM
All times are GMT -5. The time now is 06:26 PM. 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