I'm trying to write a script in which one of the effects is a player going "berserk". I'm trying to force an attack, with no avail, though. I tried tinkering with packet 0x05 (RequestAttack), desperately I even tried to turn the war-mode and try sending a DoubleClick packet - both freeze the client.
Code: Select all
var trg := Target(who); if( !trg ) return 0; elseif( !trg.IsA(POLCLASS_MOBILE) ) return 0; elseif( trg.dead ) return 0; endif var hexSerial := Hex(trg.serial); SendSysMessage(who, "serial: " + hexSerial); SendPacket(who, "05B700");