Quick example taken from my inbox.
CLIENT_MASTERY_LEVELUP_REQUEST = 0x70A2
Since is something quick, I’m going to add code. So you want level up masteries?
uint MasteryID
bool UseSkillPoints
03 01 00 00
: MasteryID 0x103 = 259 means Pacheon
01
: spend SP
A function to level up mastery through python conditions?
from phBot import *
import struct
def LevelUpMasteryPacheon():
LevelUpMastery(259)
def LevelUpMastery(MasteryID):
packet = struct.pack('I',MasteryID)
packet += struct.pack('B',1)
inject_joymax(0x70A2,packet,False)
One of this could work, not sure.
Conditions: if ( ... ) { Python ( LevelUpMasteryPacheon ); }
Conditions: if ( ... ) { Python ( LevelUpMastery(259) ); }