mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-11 21:45:43 -04:00
Officer - Fixed buff duration and errors
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_buff_duration_line_of_group_buff'):
|
||||
buff.setDuration(buff.getDuration() + actor.getSkillModBase('expertise_buff_duration_line_of_group_buff'))
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 0:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 0:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 0:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 0:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 0:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 0:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 0:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 0:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 2:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 1:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 1:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 1:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 1:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 1:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_aura_maintain'):
|
||||
if actor.getSkillModBase('expertise_aura_maintain') > 1:
|
||||
buff.setDuration(-1)
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, buff):
|
||||
if actor.getSkillMod('expertise_buff_duration_line_of_group_buff'):
|
||||
buff.setDuration(buff.getDuration() + actor.getSkillModBase('expertise_buff_duration_line_of_group_buff'))
|
||||
return
|
||||
|
||||
def add(core, actor, buff):
|
||||
|
||||
Reference in New Issue
Block a user