Jump to content

  •  

Photo

skill mapflag


  • Please log in to reply
1 reply to this topic

#1 mashemaru

mashemaru

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 22 October 2015 - 12:41 PM

Is it possible to have 2 different effect on 1 skill depending on mapflag?

 

For example, on a certain mapflag or map array you cant dispell song buffs and on default you can.

 

Thanks.


Edited by mashemaru, 22 October 2015 - 12:41 PM.


#2 Easycore

Easycore

    Advanced Member

  • Members
  • PipPipPip
  • 156 posts

Posted 26 October 2015 - 04:53 PM

if( map_flag_vs(src->m)) { 

//What you put

}

 

Search the other mapflags, in Scourge are different names. For eg: map_flag_vs = PVP, map_flag_gvg = WoE and map_flag_gvg2 = Battlegrounds.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 18 user(s)