Status
SteamPeaks
ChartsSalesUpcomingPatchesNewsCalculator
New on SteamEvery app, DLC and depot the minute Steam creates itAppsEvery app on Steam, newest change firstPackagesSubs and bundles, and what each containsDepotsDepots, manifests and install sizesTagsSteam's user tags and the games under themDevelopers & publishersCompanies and their cataloguesTechnologiesEngines, SDKs and anti-cheat found in the filesChange historyEvery PICS changelist as it lands
SignalsNineteen readings of the whole catalogueCompareAny games side by sideRecordsAll-time peaks and the days they were setReportsWeekly and monthly write-upsAlerts & newsroomWatch a game, get told when it movesSteam statusIs Steam up, right nowWeb API explorerTry the endpoints in the browser
NewsSteam's own announcements and the sales calendarCalculatorWhat a Steam account is worth, and its pile of shame
/
Sign in
/
SteamPeaks
The ultimate resource for Steam data.
ExploreChartsSalesSales and festsUpcomingPatchesNewsRecordsTrendingSignals
DatabaseAppsPackagesDepotsTagsDevelopersTechnologiesChange history
ToolsCalculatorCompareSearchAlertsSteam statusAPI
SiteMethodologyFAQDiscordSupportSign in via Steam
Not affiliated with Valve or Steam. Game names and artwork belong to their owners. All times UTC.
PrivacyCookiesFair useStatus
Legend creaturesNews2020年5月22日 更新 mod接口补充
In-game event

2020年5月22日 更新 mod接口补充

Legend creatures · published 22 May 2020, 10:08 UTC

All newsPlayers around this dateRead on Steam

包括之前更新汇总:
重制开局生物系列选择,会自动保存配置
增加开局物品选择,会自动保存配置
现在可以卖掉装备

增加自定义序列帧动画特效:
var eff = sys.newEff("animEff",Vector2(100,100)) #在像素坐标100,100 创建自定义动画特效
eff.setImgs("effImgs",15,flase) #设置当前脚本目录下的effImgs文件夹里的所有图片为序列帧图源 , 播放速度15 , 默认不循环
如果需要作为飞行特效,使用下列两函数其一
eff._initFlyCha(cha,flySpd = 300) #向目标单位飞行(目标角色,飞行速度默认300)
eff._initFlyPos(pos,flySpd = 300) #向目标像素位置飞行(目标位置,飞行速度默认300)
删除特效 eff.queue_free() 只有循环播放 且 又不是飞行特效 需要主动删除,否则会自动删除

增加自定义文本特效:
var eff = sys.newEff("numHit",Vector2(100,100))
eff.setText(sstr,color = "#ffffff") #设置文本(文本内容,颜色默认白色 16进制色值)

增加删除物品接口
sys.main.player.delItem(i物品实例)

物品现在可以设置价格
price = 200

伤害信息允许设置暴击
atkInfo.canCri = true

关于mod优化的建议 以防止突然卡死:
1:伤害处理中避免进入死循环,使游戏崩溃,如伤害事件中循环触发伤害:
func _onAtkChara(atkInfo:AtkInfo):
._onAtkChara(atkInfo)
if atkInfo.atkType == AtkType.SKIIL : hurtChara(atkInfo.hitCha,att.mgiAtk * 1.0,Chara.HurtType.MGI)
上段将形成死循环
2:尽量减少在帧回调和upS函数中使用循环,如for循环遍历数组
3:减少高频率特效创建

More from Legend creatures

Other announcements

All news
Community20 Jul 2023Demo of Legend Creatures 2 now available! Try and wishlist now!Thank you for your attention and patience. The Steam page and demo of Legend Creatures 2 are now live. Come try it out and a wishlist would be highly appreciated! As a sequel, Legend Creatures 2 has lots of new content and new gameplay design, including open-world exploration and new mechanics of basic classes and sub-classes design. For more information, please check the game page. You can exp…Game update8 Sep 2021修复两个秘银铠甲无敌的bug修复两个秘银铠甲无敌的bugCommunity16 Jul 2021新游戏上架ea啦,《卡牌缔造者》一款可以自行diy的卡牌游戏新游简介: 这是一款Rogue + 类炉石的卡牌游戏,也是一个卡牌制作工具,你可以玩到除了官方卡牌之外,创意工坊内玩家各式各样的卡牌DIY。你也可以亲自实现自己的想法,阅读简洁易用的脚本接口,一张图几行代码就可以实现你的奇思妙想。