Small test for crash

This commit is contained in:
Zing
2014-10-02 18:32:22 -07:00
parent 1c8fc117a4
commit c2e26f40fd
2 changed files with 10 additions and 8 deletions
+9 -7
View File
@@ -1,15 +1,17 @@
import sys
import sys
from resources.datatables import Posture
from tools import DevLogQueuer
def setup():
return
def run(core, actor, target, commandString):
object = actor
print(object.getObjectID());
core.buffService.addBuffToCreature(actor, 'set_bonus_officer_utility_b_3', actor);
#core.getSWGObjectODB().put(object.getObjectID(), object);
return
if actor.getPosture() == Posture.Incapacitated or actor.getPosture() == Posture.Dead:
return
actor.setPosture(Posture.Crouched)
actor.setSpeedMultiplierBase(0)
actor.setTurnRadius(0)
return
+1 -1
View File
@@ -331,7 +331,7 @@ public class CharacterService implements INetworkDispatch {
missionBag.setStaticObject(false);
object._add(inventory);
object._add(appInventory);
//object._add(appInventory);
object._add(datapad);
object._add(bank);
object._add(missionBag);