更改

跳到导航 跳到搜索
第447行: 第447行:  
  |group = Player
 
  |group = Player
 
  |name  = LevelChanged
 
  |name  = LevelChanged
  |desc  = Raised after a player's skill level changes. When the player levels up normally, this is raised immediately (not when the game notifies the player after they go to bed).
+
  |desc  = 在一个玩家技能等级发生变化后触发. 当玩家技能等级提升的第一时间立马触发 ( 不是在玩家睡觉后游戏提示时触发).
    
  |arg name 1 = <samp>e.Player</samp>
 
  |arg name 1 = <samp>e.Player</samp>
 
  |arg type 1 = <samp>Farmer</samp>
 
  |arg type 1 = <samp>Farmer</samp>
  |arg desc 1 = The player whose skill level changed.
+
  |arg desc 1 = 技能等级发生变化的玩家.
    
  |arg name 2 = <samp>e.Skill</samp>
 
  |arg name 2 = <samp>e.Skill</samp>
 
  |arg type 2 = <samp>SkillType</samp>
 
  |arg type 2 = <samp>SkillType</samp>
  |arg desc 2 = The skill whose level changed. This is a constant like <code>SkillType.Combat</code>, which can be converted to the game's internal skill ID using <code>(int)e.Skill</code>.
+
  |arg desc 2 = 等级发生变化的技能. <code>SkillType.Combat</code> (战斗技能)这种能调用 <code>(int)e.Skill</code> 转化成内部id的技能.
    
  |arg name 3 = <samp>e.OldLevel</samp>
 
  |arg name 3 = <samp>e.OldLevel</samp>
 
  |arg type 3 = <samp>int</samp>
 
  |arg type 3 = <samp>int</samp>
  |arg desc 3 = The player's previous level for that skill.
+
  |arg desc 3 = 变化之前的技能等级.
    
  |arg name 4 = <samp>e.NewLevel</samp>
 
  |arg name 4 = <samp>e.NewLevel</samp>
 
  |arg type 4 = <samp>int</samp>
 
  |arg type 4 = <samp>int</samp>
  |arg desc 4 = The player's new level for that skill.
+
  |arg desc 4 = 变化之后的等级.
    
  |arg name 5 = <samp>e.IsLocalPlayer</samp>
 
  |arg name 5 = <samp>e.IsLocalPlayer</samp>
第472行: 第472行:  
  |group = Player
 
  |group = Player
 
  |name  = Warped
 
  |name  = Warped
  |desc  = Raised after the current player moves to a new location.
+
  |desc  = 当玩家移动到新地点的时候触发(农场到车站,玩家所在矿井层数发生变化也算).
    
  |arg name 1 = <samp>e.Player</samp>
 
  |arg name 1 = <samp>e.Player</samp>
 
  |arg type 1 = <samp>Farmer</samp>
 
  |arg type 1 = <samp>Farmer</samp>
  |arg desc 1 = The player who warped to a new location.
+
  |arg desc 1 = 地点发生变化的玩家.
    
  |arg name 2 = <samp>e.OldLocation</samp>
 
  |arg name 2 = <samp>e.OldLocation</samp>
 
  |arg type 2 = <samp>GameLocation</samp>
 
  |arg type 2 = <samp>GameLocation</samp>
  |arg desc 2 = The player's previous location.
+
  |arg desc 2 = 玩家移动之前所在的地点.
    
  |arg name 3 = <samp>e.NewLocation</samp>
 
  |arg name 3 = <samp>e.NewLocation</samp>
 
  |arg type 3 = <samp>GameLocation</samp>
 
  |arg type 3 = <samp>GameLocation</samp>
  |arg desc 3 = The player's new location.
+
  |arg desc 3 = 玩家移动之后到达的地点.
    
  |arg name 4 = <samp>e.IsLocalPlayer</samp>
 
  |arg name 4 = <samp>e.IsLocalPlayer</samp>
1

个编辑

导航菜单