目的
给大家接触手游模拟脚本的一个样板,支持多分辨率适配
脚本功能为批量送体力给好友,功能简单
源码 lua
--版本 --[[ 此脚本功能 日期 制作 --]] function IniScript() VERSION="1.2" end function ReadUI() local isNomal = false setmetatable(_G, { __index = function (_, n) error("attempt to read undeclared variable "..n, 2) end, }) end function ScriptMain() if (math.abs( screenX/screenY - 9/16) < 0.01) then 送体力480854() elseif ( math.abs( screenX/screenY - 3/5) < 0.01) then 送体力480800() end end function 送体力480854() WriteLog(" 送体力开始",