This commit is contained in:
Iosnowore Kun
2014-06-05 08:47:53 -04:00
6507 changed files with 165293 additions and 56546 deletions
+3 -3
View File
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="lib" path="lib/commons-collections-3.1.jar"/>
<classpathentry kind="lib" path="lib/commons-io-2.2.jar"/>
<classpathentry kind="lib" path="lib/commons-math3-3.0.jar"/>
@@ -28,8 +27,9 @@
<classpathentry kind="lib" path="lib/MINA/mina-integration-xbean-2.0.4.jar"/>
<classpathentry kind="lib" path="lib/MINA/mina-statemachine-2.0.4.jar"/>
<classpathentry kind="lib" path="lib/MINA/mina-transport-apr-2.0.4.jar"/>
<classpathentry kind="lib" path="ngengine_public.jar"/>
<classpathentry kind="lib" path="lib/mbassador-1.1.7.jar"/>
<classpathentry kind="lib" path="lib/commons-lang3-3.1.jar"/>
<classpathentry kind="lib" path="ngengine_public.jar"/>
<classpathentry kind="lib" path="lib/mbassador-1.1.9.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="output" path="bin"/>
</classpath>
+21 -2
View File
@@ -47,7 +47,26 @@ clientdata/
# SWG Client Folders
footprint/
interiorlayout/
quest/
clientdata/quest/
# PSWG Object Databases
odb/building/je.info.*
odb/creature/je.info.*
odb/doids/je.info.*
odb/guild/je.info.*
odb/mails/je.info.*
odb/oids/je.info.*
odb/chatRooms/je.info.*
odb/resourcehistory/je.info.*
odb/resourceroots/je.info.*
odb/resources/je.info.*
<<<<<<< HEAD
odb/auction/je.info.*
odb/swgobjects/je.info.*
=======
odb/auction/je.info.*
odb/bounties/je.info.*
>>>>>>> 12ca3ae66170fcfe09d848a7eea529041b9af5ad
# External tool builders
.externalToolBuilders/
@@ -199,4 +218,4 @@ pip-log.txt
#############
## PyCharm
#############
.idea
.idea
+5 -2
View File
@@ -12,8 +12,8 @@ The Engine(NGEngine) is a closed source library and is only licensed for use wit
Requirements for Building the Core:
========
- JDK 7
- An IDE like Eclipse Juno
- JDK 8
- A Java 8 compatible IDE like Eclipse Kepler (https://wiki.eclipse.org/JDT/Eclipse_Java_8_Support_For_Kepler)
- A valid Star Wars Galaxies Installation with the final patch
- Postgresql server (www.postgresql.org)
- TRE Explorer(http://forum.modsource.org/index.php?PHPSESSID=bf02fd8244123807f4716c1686abb59f&action=dlattach;topic=33.0;attach=49)
@@ -43,8 +43,11 @@ Then export the following folders to your clientdata folder(should be located in
- object
- quest
- snapshot
- string
- terrain
Export the same folders from sku1_client.toc, sku2_client.toc and sku3_client.toc to avoid errors with kashyyyk.
Now you're ready to run the core!
Contributing and Submitting patches
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
Welcome to the ProjectSWG TestCenter!
+1028
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
+2
View File
@@ -11,3 +11,5 @@ DB.URL=localhost
DB.PASS=nge
GALAXY_ID=2
GALAXY_NAME=Local Connection
XPMULTIPLIER=1.0
MAXNUMBEROFCHARACTERS=2
Binary file not shown.
@@ -0,0 +1,35 @@
:: Odb file wiper by Charon
:: Use at your own risk!
:: Do NOT execute outside the odb folder
:: because it deletes files in subfolders!
@echo off
cls
setlocal EnableDelayedExpansion
for %%* in (.) do set CurrDirName=%%~n*
if "%CurrDirName%" == "eclipse" (
echo You are running this script from inside Eclipse ^^!
echo You must execute it via windows in the odb folder ONLY ^^!
echo Terminating for your own data safety.
pause
EXIT
)
if NOT "%CurrDirName%" == "odb" (
echo You are not executing this file from the odb folder^^!
echo Terminating for your own data safety.
pause
EXIT
)
set /a count=0
for /d %%d in (*) do (
set /a count+=1
@echo !count!. %%d
del "%%d\*.*" /s/q
echo. 2>%%d\placeholder.txt
)
setlocal DisableDelayedExpansion
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
+6
View File
@@ -1 +1,7 @@
LOAD.SNAPSHOT_OBJECTS=1
LOAD.BUILDOUT_OBJECTS=1
#LOAD.BUILDOUT_ONLY_FOR="dantooine"
LOAD.RESOURCE.SYSTEM=1
# Misc
CLEAN.ODB.FOLDERS=0
+14
View File
@@ -0,0 +1,14 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.addSkillMod('expertise_innate_reduction_all_player', 6 * buff.getStacks())
actor.addSkillMod('expertise_innate_reduction_all_mob', 600 * buff.getStacks())
return
def remove(core, actor, buff):
actor.deductSkillMod('expertise_innate_reduction_all_mob', 600 * buff.getStacks())
actor.deductSkillMod('expertise_innate_reduction_all_player', 6 * buff.getStacks())
return
+16
View File
@@ -0,0 +1,16 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 6)
core.skillModService.addSkillMod(actor, 'movement_resist_snare', 100)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 6)
core.skillModService.deductSkillMod(actor, 'movement_resist_snare', 100)
return
+17
View File
@@ -0,0 +1,17 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'expertise_damage_all', 10)
core.skillModService.addSkillMod(actor, 'expertise_glancing_blow_ranged', 40)
actor.setRadarVisible(False)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_damage_all', 10)
core.skillModService.deductSkillMod(actor, 'expertise_glancing_blow_ranged', 40)
actor.setRadarVisible(True)
return
+16
View File
@@ -0,0 +1,16 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 6)
core.skillModService.addSkillMod(actor, 'movement_resist_snare', 100)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 6)
core.skillModService.deductSkillMod(actor, 'movement_resist_snare', 100)
return
+4 -1
View File
@@ -2,7 +2,10 @@ import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
return
+15
View File
@@ -0,0 +1,15 @@
import sys
def setup(core, actor, buff):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_bh_return_fire')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'expertise_bh_return_fire_1', 1)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_bh_return_fire_1', 1)
return
+12
View File
@@ -0,0 +1,12 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'combat_divide_damage_taken', 1)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'combat_divide_damage_taken', 1)
return
+13
View File
@@ -0,0 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'combat_multiply_damage_given', 1)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'combat_multiply_damage_given', 1)
return
+4 -1
View File
@@ -2,7 +2,10 @@ import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
return
+30
View File
@@ -0,0 +1,30 @@
from resources.common import BuffBuilder
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
buffWorkshop = actor.getAttachment('buffWorkshop')
if buffWorkshop is None:
return
attached = actor.getAttachment('inspireDuration')
buff.setDuration(float(actor.getAttachment('inspireDuration') * 60))
for BuffItem in buffWorkshop:
core.skillModService.addSkillMod(actor, BuffItem.getSkillName(), BuffItem.getAffectAmount())
return
def remove(core, actor, buff):
if actor.getAttachment('buffWorkshop') is not None:
for BuffItem in actor.getAttachment('buffWorkshop'):
core.skillModService.deductSkillMod(actor, BuffItem.getSkillName(), BuffItem.getAffectAmount())
actor.setAttachment('buffWorkshop', None)
return
+15
View File
@@ -0,0 +1,15 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'expertise_innate_protection_all', 1000)
core.skillModService.addSkillMod(actor, 'expertise_critical_niche_all', 5)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_innate_protection_all', 1000)
core.skillModService.deductSkillMod(actor, 'expertise_critical_niche_all', 5)
return
+13
View File
@@ -0,0 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'expertise_healing_all', 20)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_healing_all', 20)
return
+53
View File
@@ -0,0 +1,53 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.setSpeedMultiplierMod(0)
core.skillModService.addSkillMod(actor, 'precision_modified', 200)
core.skillModService.addSkillMod(actor, 'strength_modified', 200)
if actor.getSkillMod('expertise_action_line_co_imp_pos_sec'):
core.skillModService.addSkillMod(actor, 'expertise_action_all', actor.getSkillMod('expertise_action_line_co_imp_pos_sec').getBase())
#if actor.getSkillMod('expertise_co_pos_secured_line_burst_fire_proc'):
if actor.getSkillMod('expertise_co_pos_secured_line_burst_fire_devastation_bonus'):
core.skillModService.addSkillMod(actor, 'expertise_devastation_bonus', actor.getSkillMod('expertise_co_pos_secured_line_burst_fire_devastation_bonus').getBase() * 10)
if actor.getSkillMod('expertise_co_pos_secured_line_critical'):
core.skillModService.addSkillMod(actor, 'display_only_critical', actor.getSkillMod('expertise_co_pos_secured_line_critical').getBase() * 100)
if actor.getSkillMod('expertise_co_pos_secured_line_protection'):
core.skillModService.addSkillMod(actor, 'display_only_expertise_critical_hit_reduction', actor.getSkillMod('expertise_co_pos_secured_line_protection').getBase() * 100)
if actor.hasSkill('expertise_co_base_of_operations_1'):
core.buffService.addBuffToCreature(actor, 'co_base_of_operations')
return
def remove(core, actor, buff):
actor.setSpeedMultiplierMod(1)
core.skillModService.deductSkillMod(actor, 'precision_modified', 200)
core.skillModService.deductSkillMod(actor, 'strength_modified', 200)
if actor.getSkillMod('expertise_action_line_co_imp_pos_sec'):
core.skillModService.deductSkillMod(actor, 'expertise_action_all', actor.getSkillMod('expertise_action_line_co_imp_pos_sec').getBase())
#if actor.getSkillMod('expertise_co_pos_secured_line_burst_fire_proc'):
if actor.getSkillMod('expertise_co_pos_secured_line_burst_fire_devastation_bonus'):
core.skillModService.deductSkillMod(actor, 'expertise_devastation_bonus', actor.getSkillMod('expertise_co_pos_secured_line_burst_fire_devastation_bonus').getBase() * 10)
if actor.getSkillMod('expertise_co_pos_secured_line_critical'):
core.skillModService.deductSkillMod(actor, 'display_only_critical', actor.getSkillMod('expertise_co_pos_secured_line_critical').getBase() * 100)
if actor.getSkillMod('expertise_co_pos_secured_line_protection'):
core.skillModService.deductSkillMod(actor, 'display_only_expertise_critical_hit_reduction', actor.getSkillMod('expertise_co_pos_secured_line_protection').getBase() * 100)
if actor.hasSkill('expertise_co_base_of_operations_1'):
if actor.getGroupId() != 0 and core.objectService.getObject(actor.getGroupId()):
group = core.objectService.getObject(actor.getGroupId())
for member in group.getMemberList():
core.buffService.removeBuffFromCreature(member, member.getBuffByName('co_base_of_operations'))
else:
core.buffService.removeBuffFromCreature(actor, actor.getBuffByName('co_base_of_operations'))
return
+21
View File
@@ -0,0 +1,21 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_co_stand_fast'):
buff.setDuration(buff.getDuration() + actor.getSkillMod('expertise_buff_duration_line_co_stand_fast').getBase())
return
def add(core, actor, buff):
if actor.getSkillMod('expertise_damage_decrease_percentage'):
core.skillModService.addSkillMod(actor, 'damage_decrease_percentage', (60 + actor.getSkillMod('expertise_damage_decrease_percentage').getBase()) / 2)
else:
core.skillModService.addSkillMod(actor, 'damage_decrease_percentage', 60 / 2)
return
def remove(core, actor, buff):
if actor.getSkillMod('expertise_damage_decrease_percentage'):
core.skillModService.deductSkillMod(actor, 'damage_decrease_percentage', (60 + actor.getSkillMod('expertise_damage_decrease_percentage').getBase()) / 2)
else:
core.skillModService.deductSkillMod(actor, 'damage_decrease_percentage', 60 / 2)
return
+13
View File
@@ -0,0 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'expertise_action_weapon_melee', 60)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_action_weapon_melee', 60)
return
+13
View File
@@ -0,0 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'critical_hit_vulnerable', 2)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'critical_hit_vulnerable', 2)
return
+13
View File
@@ -0,0 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'critical_hit_vulnerable', 4)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'critical_hit_vulnerable', 4)
return
+13
View File
@@ -0,0 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'critical_hit_vulnerable', 6)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'critical_hit_vulnerable', 6)
return
+12
View File
@@ -0,0 +1,12 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 5)
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 5)
return
+15
View File
@@ -0,0 +1,15 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement_resist_snare', 100)
core.skillModService.addSkillMod(actor, 'movement', 5)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 5)
core.skillModService.deductSkillMod(actor, 'movement_resist_snare', 100)
return
@@ -0,0 +1,12 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 10)
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 10)
return
@@ -0,0 +1,12 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'en_unhealthy_stun', 1)
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'en_unhealthy_stun', 1)
return
+13
View File
@@ -0,0 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'expertise_glancing_blow_all', 60)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_glancing_blow_all', 60)
return
+13
View File
@@ -0,0 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'expertise_glancing_blow_all', 65)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_glancing_blow_all', 65)
return
+13
View File
@@ -0,0 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'expertise_glancing_blow_all', 70)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_glancing_blow_all', 70)
return
+13
View File
@@ -0,0 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'expertise_glancing_blow_all', 75)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_glancing_blow_all', 75)
return
+4 -1
View File
@@ -2,6 +2,9 @@ import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
return
+4 -1
View File
@@ -2,6 +2,9 @@ import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
return
+4 -1
View File
@@ -2,6 +2,9 @@ import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
return
+7 -5
View File
@@ -1,10 +1,12 @@
import sys
def setup(core, actor, buff):
actor.setSpeedMultiplierBase(0.5)
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 5)
return
def removeBuff(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 5)
return
+7 -5
View File
@@ -1,10 +1,12 @@
import sys
def setup(core, actor, buff):
actor.setSpeedMultiplierBase(0.5)
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 5)
return
def removeBuff(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 5)
return
+7 -5
View File
@@ -1,10 +1,12 @@
import sys
def setup(core, actor, buff):
actor.setSpeedMultiplierBase(0.5)
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 5)
return
def removeBuff(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 5)
return
+7 -5
View File
@@ -1,10 +1,12 @@
import sys
def setup(core, actor, buff):
actor.setSpeedMultiplierBase(0.5)
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 5)
return
def removeBuff(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 5)
return
+7 -5
View File
@@ -1,10 +1,12 @@
import sys
def setup(core, actor, buff):
actor.setSpeedMultiplierBase(0.5)
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 5)
return
def removeBuff(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 5)
return
+7 -5
View File
@@ -1,10 +1,12 @@
import sys
def setup(core, actor, buff):
actor.setSpeedMultiplierBase(0.5)
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 5)
return
def removeBuff(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 5)
return
+7 -5
View File
@@ -1,10 +1,12 @@
import sys
def setup(core, actor, buff):
actor.setSpeedMultiplierBase(0.5)
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 5)
return
def removeBuff(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 5)
return
+4 -1
View File
@@ -1,12 +1,15 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.playEffectObject('appearance/pt_sokan_focus.prt', 'fs_buff_ca_1')
core.skillModService.addSkillMod(actor, 'expertise_focus', 1)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_focus', 1)
return
+4 -1
View File
@@ -1,12 +1,15 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.playEffectObject('appearance/pt_force_avoid_incapacitation.prt', 'fs_buff_def_1_1')
core.skillModService.addSkillMod(actor, 'expertise_stance', 1)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_stance', 1)
return
+4 -1
View File
@@ -1,10 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.setSpeedMultiplierBase(0.5)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return
+4 -1
View File
@@ -1,10 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.setSpeedMultiplierBase(0.5)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return
+4 -1
View File
@@ -1,10 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.setSpeedMultiplierBase(0.5)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return
+4 -1
View File
@@ -1,10 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.setSpeedMultiplierBase(0.5)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return
+4 -1
View File
@@ -1,10 +1,13 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.setSpeedMultiplierBase(0.5)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return
+6 -4
View File
@@ -1,9 +1,11 @@
import sys
def setup(core, actor, buff):
def setup(core, actor, buff):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_fs_force_run')))
actor.playEffectObject('clienteffect/pl_force_run.cef', 'fs_force_run')
actor.playEffectObject('appearance/pt_force_speed.prt', 'fs_force_run')
return
def add(core, actor, buff):
actor.playEffectObject('clienteffect/pl_force_run.cef', '')
actor.setSpeedMultiplierBase(actor.getSpeedMultiplierBase() + 2.5 + (2.5 * (actor.getSkillModBase('expertise_movement_buff_fs_force_run')) / 100))
core.skillModService.addSkillMod(actor, 'slope_move', 5)
core.skillModService.addSkillMod(actor, 'movement_resist_snare', 100)
@@ -14,7 +16,7 @@ def setup(core, actor, buff):
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
actor.stopEffectObject('fs_force_run')
actor.setSpeedMultiplierBase(actor.getSpeedMultiplierBase() - 2.5 - (2.5 * (actor.getSkillModBase('expertise_movement_buff_fs_force_run')) / 100))
core.skillModService.deductSkillMod(actor, 'slope_move', 5)
+7 -6
View File
@@ -1,11 +1,12 @@
import sys
def setup(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', float(-0.5))
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 5)
return
def removeBuff(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', float(-0.5))
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 5)
return
+4 -1
View File
@@ -1,11 +1,14 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'expertise_saber_block', 1)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_saber_block', 1)
return
+10 -3
View File
@@ -2,7 +2,14 @@ import sys
def setup(core, actor, buff):
return
def removeBuff(core, actor, buff):
def add(core, actor, buff):
actor.setInStealth(True)
actor.setRadarVisible(False)
return
def remove(core, actor, buff):
actor.setInStealth(False)
actor.setRadarVisible(True)
return
+26
View File
@@ -0,0 +1,26 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.playEffectObject('clienteffect/npe_smoke_bomb.cef', '')
actor.setInStealth(True)
actor.setRadarVisible(False)
core.combatService.endCombat(actor)
if actor.getSkillMod('expertise_sp_without_a_trace_1'):
core.buffService.addBuffToCreature(actor, 'invis_sp_buff_invis_notrace_1')
return
def remove(core, actor, buff):
actor.setInStealth(False)
actor.setRadarVisible(True)
if actor.getSkillMod('expertise_sp_without_a_trace_1'):
core.buffService.removeBuffFromCreature(actor, 'invis_sp_buff_invis_notrace_1')
return
@@ -0,0 +1,22 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.setInStealth(True)
actor.setRadarVisible(False)
if actor.getSkillMod('expertise_sp_covert_mastery_1'):
core.skillModService.addSkillMod(actor, 'sp_covert_mastery')
return
def remove(core, actor, buff):
actor.setInStealth(False)
actor.setRadarVisible(True)
if actor.getSkillMod('expertise_sp_covert_mastery_1'):
core.skillModService.deductSkillMod(actor, 'sp_covert_mastery')
return
+14
View File
@@ -0,0 +1,14 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.setInStealth(True)
actor.setRadarVisible(False)
return
def remove(core, actor, buff):
actor.setInStealth(False)
actor.setRadarVisible(True)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'stamina_modified', 35)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'stamina_modified', 35)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'stamina_modified', 80)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'stamina_modified', 80)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'stamina_modified', 250)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'stamina_modified', 250)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'agility_modified', 15)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'agility_modified', 15)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'agility_modified', 45)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'agility_modified', 45)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'agility_modified', 80)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'agility_modified', 80)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'constitution_modified', 80)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'constitution_modified', 80)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'constitution_modified', 35)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'constitution_modified', 35)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'constitution_modified', 250)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'constitution_modified', 250)
return
+6 -1
View File
@@ -1,11 +1,16 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'display_only_block', 1000)
core.skillModService.addSkillMod(actor, 'combat_block_value', 200)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'display_only_block', 1000)
core.skillModService.deductSkillMod(actor, 'combat_block_value', 200)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'precision_modified', 15)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'precision_modified', 15)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'precision_modified', 45)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'precision_modified', 45)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'precision_modified', 80)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'precision_modified', 80)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'display_only_dodge', 500)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'display_only_dodge', 500)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'strength_modified', 15)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'strength_modified', 15)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'strength_modified', 45)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'strength_modified', 45)
return
+6 -1
View File
@@ -1,10 +1,15 @@
import sys
def setup(core, actor, buff):
if actor.getSkillMod('expertise_buff_duration_line_me_enhance'):
buff.setDuration(buff.getDuration()+(actor.getSkillModBase('expertise_buff_duration_line_me_enhance')))
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'strength_modified', 80)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'strength_modified', 80)
return
+16
View File
@@ -0,0 +1,16 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_critical_niche_all', 3)
core.skillModService.addSkillMod(actor, 'strikethrough_vulnerable', 5)
core.skillModService.addSkillMod(actor, 'critical_hit_vulnerable', 5)
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'expertise_critical_niche_all', 3)
core.skillModService.deductSkillMod(actor, 'strikethrough_vulnerable', 5)
core.skillModService.deductSkillMod(actor, 'critical_hit_vulnerable', 5)
return
+15
View File
@@ -0,0 +1,15 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'combat_divide_damage_dealt', 10)
core.skillModService.deductSkillMod(actor, 'movement', 5)
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 5)
core.skillModService.deductSkillMod(actor, 'combat_divide_damage_dealt', 10)
return
+15
View File
@@ -0,0 +1,15 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'dot_reduction_all', 5)
core.skillModService.addSkillMod(actor, 'dot_resist_all', 100)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'dot_reduction_all', 5)
core.skillModService.deductSkillMod(actor, 'dot_resist_all', 100)
return
+12
View File
@@ -0,0 +1,12 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'me_doom', 1)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'me_doom', 1)
return
+12
View File
@@ -0,0 +1,12 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'movement', 5)
return
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 5)
return
+19
View File
@@ -0,0 +1,19 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'expertise_dodge', 35)
core.skillModService.addSkillMod(actor, 'display_only_evasion', 5000)
core.skillModService.addSkillMod(actor, 'combat_evasion_value', 50)
core.combatService.endCombat(actor)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_dodge', 35)
core.skillModService.deductSkillMod(actor, 'display_only_evasion', 5000)
core.skillModService.deductSkillMod(actor, 'combat_evasion_value', 50)
return
+6 -1
View File
@@ -2,7 +2,12 @@ import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'action_burn', 65)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'action_burn', 65)
return
+12
View File
@@ -0,0 +1,12 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'debuff_purge', 1)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'debuff_purge', 1)
return
+12
View File
@@ -0,0 +1,12 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
core.skillModService.addSkillMod(actor, 'buff_purge', 1)
return
def remove(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'buff_purge', 1)
return
+6 -3
View File
@@ -1,11 +1,14 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.playEffectObject('clienteffect/medic_stasis.cef', 'me_stasis_1')
actor.setSpeedMultiplierBase(0.2)
core.skillModService.deductSkillMod(actor, 'movement', 8)
return
def removeBuff(core, actor, buff):
actor.setSpeedMultiplierBase(1)
def remove(core, actor, buff):
core.skillModService.addSkillMod(actor, 'movement', 8)
return
+4 -1
View File
@@ -1,11 +1,14 @@
import sys
def setup(core, actor, buff):
return
def add(core, actor, buff):
actor.playEffectObject('clienteffect/medic_stasis.cef', 'me_stasis_self_1')
actor.setSpeedMultiplierBase(0.2)
return
def removeBuff(core, actor, buff):
def remove(core, actor, buff):
actor.setSpeedMultiplierBase(1)
return

Some files were not shown because too many files have changed in this diff Show More