把1脚本里面30行改成 #变数归零 # $weather_hour = nil $weather_type_rand = 0 if $weather_type_rand == nil $hour_count = 0 if $hour_count == nil $weather_hour = 0 if $weather_hour == nil 这样就不会每次打开都变化了。他原本是每次打开这个窗口都归零。 $weather_type 这个是天气类型 0是无,1是雨,2是风,3是雪 |
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2025-7-19 14:45
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.