- 好友
- 13
- 在线时间
- 774 小时
- 最后登录
- 2025-10-15
贵族[MOD作者]
  
- UID
- 2743526
- 第纳尔
- 2486
- 精华
- 0
- 互助
- 19
- 荣誉
- 3
- 贡献
- 10
- 魅力
- 252
- 注册时间
- 2016-5-3
 鲜花( 206)  鸡蛋( 0)
|
本帖最后由 黑脸小白 于 2020-3-23 16:10 编辑
- (
- ti_on_agent_spawn, 0, 0, [],
- [
- (try_for_agents, ":agent"),
- (agent_is_alive, ":agent"),
- (agent_is_human, ":agent"),
- (agent_is_non_player, ":agent"),#玩家无效
- (agent_get_troop_id, ":hero", ":agent"),
- (troop_is_hero, ":hero"), # 英雄有效
- (store_agent_hit_points,":hp",":agent",1),
- (store_mul,":3hp",":hp",3),
- (agent_set_hit_points,":agent",":3hp",1),
- (try_end),
- ])
复制代码 PS:还需要用agent_set_max_hit_points
|
|