mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-25 02:45:12 +08:00
Add notes; format; clean-up
This commit is contained in:
parent
76251c6718
commit
7a2d5ba11a
@ -440,10 +440,10 @@ public final class AbilityManager extends BasePlayerManager {
|
||||
var abilityName = ability.getAbilityName();
|
||||
if (abilityName.getHash() != 0)
|
||||
Grasscutter.getLogger()
|
||||
.warn("Instancing {} in to {}", abilityName.getHash(), ability.getInstancedAbilityId());
|
||||
.trace("Instancing {} in to {}", abilityName.getHash(), ability.getInstancedAbilityId());
|
||||
else
|
||||
Grasscutter.getLogger()
|
||||
.warn("Instancing {} in to {}", abilityName.getStr(), ability.getInstancedAbilityId());
|
||||
.trace("Instancing {} in to {}", abilityName.getStr(), ability.getInstancedAbilityId());
|
||||
|
||||
var target = this.player.getScene().getEntityById(invoke.getEntityId());
|
||||
if (target == null) {
|
||||
|
@ -1116,14 +1116,14 @@ public class SceneScriptManager {
|
||||
var group = getGroupById(groupID);
|
||||
if (group == null || group.triggers == null) {
|
||||
Grasscutter.getLogger()
|
||||
.warn(
|
||||
.debug(
|
||||
"trying to create a timer for unknown group with id {} and source {}",
|
||||
groupID,
|
||||
source);
|
||||
return 1;
|
||||
}
|
||||
Grasscutter.getLogger()
|
||||
.info(
|
||||
.debug(
|
||||
"creating group timer event for group {} with source {} and time {}",
|
||||
groupID,
|
||||
source,
|
||||
@ -1131,7 +1131,7 @@ public class SceneScriptManager {
|
||||
for (SceneTrigger trigger : group.triggers.values()) {
|
||||
if (trigger.getEvent() == EVENT_TIMER_EVENT && trigger.getSource().equals(source)) {
|
||||
Grasscutter.getLogger()
|
||||
.warn(
|
||||
.debug(
|
||||
"[LUA] Found timer trigger with source {} for group {} : {}",
|
||||
source,
|
||||
groupID,
|
||||
|
@ -1124,6 +1124,10 @@ public class ScriptLib {
|
||||
|
||||
public int BeginCameraSceneLook(LuaTable sceneLookParams){
|
||||
logger.debug("[LUA] Call BeginCameraSceneLook with {}", printTable(sceneLookParams));
|
||||
|
||||
// INVESTIGATE: Sniff the content for 'BeginCameraSceneLookNotify'.
|
||||
// This packet is known as 260 (3.5) or 215 (3.6).
|
||||
// Compare data to ones found in Lua, then de-obfuscate.
|
||||
// var luaLookPos = sceneLookParams.get("look_pos");
|
||||
// var luaFollowPos = sceneLookParams.get("follow_pos");
|
||||
// var luaDuration = sceneLookParams.get("duration");
|
||||
|
Loading…
Reference in New Issue
Block a user