笑谈学校吧 关注:1,398贴子:47,045

回复:笑谈学校修改法

只看楼主收藏回复



我改的,咔咔咔......


17楼2011-11-26 10:34
收起回复
    ps
    rpgxp最高99级
    你却9999级
    那个伤害值是完全可能的,只要让潘孟升满级,然后随便打个小屁就是这个伤害
    我试过


    18楼2011-11-26 12:44
    收起回复
      2026-02-19 12:58:06
      广告
      不感兴趣
      开通SVIP免广告

      这个是什么,还有4399BOX能有吗


      19楼2011-11-26 14:50
      回复
        骚年 那是改脚本后的 话说那样不稳定


        IP属地:江苏20楼2011-11-26 15:35
        回复
          不过有一种方法效果更好,
          比如剑舞缤纷这个技能,
          只要修改过后(不改等级与攻击力的情况下)
          照样可以秒掉王刚,
          王刚血量55000
          即使改掉攻击力也很难秒杀
          然后你只要设个公工事件,然后敌人+战斗不能
          遇到谁都能秒杀,我几乎不改别的,就该潘萌的剑舞缤纷。


          21楼2011-11-26 16:20
          回复
            我只说等级


            IP属地:江苏22楼2011-11-26 16:25
            回复
              真厉害你改oz啊白痴


              IP属地:福建来自掌上百度23楼2011-11-27 09:10
              回复
                看样子你这只猪终于找到自己同类了 那是 都是白痴嘛 不过你似乎比他更白痴些


                IP属地:四川24楼2011-11-29 22:28
                回复
                  2026-02-19 12:52:06
                  广告
                  不感兴趣
                  开通SVIP免广告
                  ohyear
                  签名档终于过了
                  等了10天呀


                  25楼2011-11-30 17:16
                  回复
                    我总觉得我怪怪的,我有些SB耶耶耶耶耶耶耶耶耶耶耶耶耶耶……
                    有小说大家分享一下,我88了,后天见


                    26楼2011-11-30 17:31
                    回复
                      你路上走好


                      IP属地:四川27楼2011-11-30 18:19
                      回复
                        顺便给大家带来了鼠标控制脚本。


                        28楼2011-12-03 20:58
                        回复
                          / 2 and mouse_x < event.screen_x + event_width / 2 and mouse_y + 32 > event.screen_y + 32 - event_height and mouse_y + 32 < event.screen_y + 32for i in 0...event.list.sizereturn 1, event if ["Item", "Npc"].include?(event.list.parameters[0]) #返回存在自定义事件以及事件体endendendreturn 0, event #返回不存在自定义事件,以及事件体endend#=================以下两个用来调整战斗时的手感问题,可以自己试试。$敌人选框扩大 = 20$角色选框扩大 = 30
                          #==============================================================================# ● API调用#==============================================================================$ShowCursor = Win32API.new("user32", "ShowCursor", 'i', 'l')$GetCursorPos = Win32API.new("user32", "GetCursorPos", 'p', 'i')$ScreenToClient = Win32API.new("user32", "ScreenToClient", 'ip', 'i')$GetActiveWindow = Win32API.new("user32", "GetActiveWindow", nil, 'l')$Window_HWND = $GetActiveWindow.call$GetKeyState = Win32API.new("user32", "GetKeyState", 'i', 'i')module Mouse LEFT = 0x01RIGHT = 0x02def self.init(sprite = nil)$ShowCursor.call(0)
                          @show_cursor = false
                          @mouse_ani_viewport = Viewport.new(0,0,640,480)@mouse_ani_viewport.z = 1@mouse_ani = RPG::Sprite.new(@mouse_ani_viewport)@mouse_ani.z = 1
                          @mouse_bitmap = Bitmap.new('Menu/mouse/Mouse')#动态地址@mouse_sprite = Sprite.new@mouse_sprite.z = 99999@mouse_sprite.bitmap = Bitmap.new('Menu/mou****ouse_sprite.bitmap.fill_rect(Rect.new(0, 0, 32, 32), Color.new(0, 0, 0))
                          $data_animations = load_data("Data/Animations.rxdata")@mouse_wait_count = $data_animations[204].frame_max * 2@mouse_wait = 0@b = 1@left_press = false@right_press = false@left_trigger = false@right_trigger = false@left_repeat = false@right_repeat = false@click_lock = false
                          updateenddef self.exit@mouse_sprite.bitmap.dispose@mouse_sprite.dispose#..........................................................................@mouse_ani.dispose#..........................................................................@show_cursor = true$ShowCursor.call(1)enddef self.mouse_debugreturn @mouse_debug.bitmapend#.........................................................................def self.set_ani(x, y)@ani_x = x@ani_y = yx -= $game_map.display_x / 4y -= $game_map.display_y / 4@mouse_ani.x, @mouse_ani.y = x, y@mouse_ani.animation($data_animations[204],true)@mouse_wait = @mouse_wait_countenddef self.update_ani#if @mouse_wait > 0x = @ani_xy = @ani_yx -= $game_map.display_x / 4y -= $game_map.display_y / 4@mouse_ani.x, @mouse_ani.y = x, y@mouse_ani.update@mouse_wait -= 1endend#.........................................................................def self.update#.........................................................................update_ani#.........................................................................left_down = $GetKeyState.call(0x01)right_down = $GetKeyState.call(0x02)if Graphics.frame_count * 3 / Graphics.frame_rate != @total_sec@total_sec = Graphics.frame_count * 3 / Graphics.frame_rate@a = !@aendif @b >= 27@b = 0else@b += 1endif $scene.is_a?(Scene_Map) == false$mouse_icon_id = 0endif $mouse_icon_id != $mouse_icon_id_lastcase $mouse_icon_idwhen 1if @a@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/I')else@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/I2')endwhen 2if @a@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/N')else@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/N2')endwhen 11@mouse_sprite.


                          30楼2011-12-03 21:00
                          回复
                            bitmap = Bitmap.new('Menu/Mouse/M')when 12@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/M')when 13@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/M')when 14@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/M')when 16@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/M')when 17@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/M')when 18@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/M')when 19@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/M')when 0@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/M')end$mouse_icon_id_last = $mouse_icon_idelsecase $mouse_icon_idwhen 1if @a@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/I')else@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/I2')endwhen 2if @a@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/N')else@mouse_sprite.bitmap = Bitmap.new('Menu/Mouse/N2')endwhen 0x = @b % 4 * 32y = @b / 4 * 32@mouse_sprite.bitmap.clear@mouse_sprite.bitmap.stretch_blt(Rect.new(0,0,32,32),@mouse_bitmap,Rect.new(x,y,32,32))endend@click_lock = falsemouse_x, mouse_y = self.get_mouse_posif @mouse_sprite != nil@mouse_sprite.x = mouse_x@mouse_sprite.y = mouse_yendif left_down[7] == 1@left_repeat = (not @left_repeat)@left_trigger = (not @left_press)@left_press = trueelse@left_press = false@left_trigger = false@left_repeat = falseendif right_down[7] == 1@right_repeat = (not @right_repeat)@right_trigger = (not @right_press)@right_press = trueelse@right_press = false@right_trigger = false@right_repeat = falseendenddef self.get_mouse_pospoint_var = [0, 0].pack('ll')if $GetCursorPos.call(point_var) != 0if $ScreenToClient.call($Window_HWND, point_var) != 0x, y = point_var.unpack('ll')if (x < 0) or (x > 10000) then x = 0 endif (y < 0) or (y > 10000) then y = 0 endif x > 640 then x = 640 endif y > 480 then y = 480 endreturn x, yelsereturn 0, 0endelsereturn 0, 0endenddef self.press?(mouse_code)if mouse_code == LEFTif @click_lockreturn falseelsereturn @left_pressendelsif mouse_code == RIGHTreturn @right_presselsereturn falseendenddef self.trigger?(mouse_code)if mouse_code == LEFTif @click_lockreturn falseelsereturn @left_triggerendelsif mouse_code == RIGHTreturn @right_triggerelsereturn falseendenddef self.repeat?(mouse_code)if mouse_code == LEFTif @click_lockreturn falseelsereturn @left_repeatendelsif mouse_code == RIGHTreturn @right_repeatelsereturn falseendenddef self.click_lock?return @click_lockenddef self.click_lock@click_lock = trueenddef self.click_unlock@click_lock = falseend#endmodule Inputif @self_update == nil@self_update = method('update')@self_press = method('press?')@self_trigger = method('trigger?')@self_repeat = method('repeat?')enddef self.update@self_update.callMouse.updateenddef self.press?(key_code)if @self_press.call(key_code)return trueendif key_code == Creturn Mouse.press?(Mouse::LEFT)elsif key_code == Breturn Mouse.press?(Mouse::RIGHT)elsereturn @self_press.call(key_code)endenddef self.trigger?(key_code)if @self_trigger.call(key_code)return trueendif key_code == Creturn Mouse.trigger?(Mouse::LEFT)elsif key_code == Breturn Mouse.trigger?(Mouse::RIGHT)elsereturn @self_trigger.call(key_code)endenddef self.repeat?(key_code)if @self_repeat.call(key_code)return trueendif key_code == Creturn Mouse.repeat?(Mouse::LEFT)elsif key_code == Breturn Mouse.repeat?(Mouse::RIGHT)elsereturn @self_repeat.call(key_code)endendendclass Window_Selectableif @self_alias == nilalias self_update update@self_alias = trueenddef updateself_updateif self.active and @item_max > 0index_var = @indextp_index = @indexmouse_x, mouse_y = Mouse.get_mouse_posmouse_not_in_rect = truefor i in 0...@item_max@index = iupdate_cursor_recttop_x = self.cursor_rect.x + self.x + 16top_y = self.cursor_rect.y + self.y + 16bottom_x = top_x + self.cursor_rect.widthbottom_y = top_y + self.cursor_rect.heightif (mouse_x > top_x) and (mouse_y 


                            31楼2011-12-03 21:00
                            回复
                              2026-02-19 12:46:06
                              广告
                              不感兴趣
                              开通SVIP免广告
                              > top_y) and(mouse_x < bottom_x) and (mouse_y < bottom_y)mouse_not_in_rect = falseif tp_index != @indextp_index = @index$game_system.se_play($data_system.cursor_se)endbreakendendif mouse_not_in_rect@index = index_varupdate_cursor_rectMouse.click_lockelseMouse.click_unlock endendendendclass Window_InputNumberif @self_alias == nilalias self_update update@self_alias = trueenddef updateself_updatemouse_x, mouse_y = Mouse.get_mouse_posif self.active and @digits_max > 0index_var = @indexmouse_not_in_rect = truefor i in 0...@digits_max@index = iupdate_cursor_recttop_x = self.cursor_rect.x + self.x + 16bottom_x = top_x + self.cursor_rect.widthif (mouse_x > top_x) and (mouse_x < bottom_x)mouse_not_in_rect = falsebreakendendif mouse_not_in_rect@index = index_varupdate_cursor_rectMouse.click_lockelseMouse.click_unlockendendif @last_mouse_y == nil@last_mouse_y = mouse_yendcheck_pos = (@last_mouse_y - mouse_y).absif check_pos > 10$game_system.se_play($data_system.cursor_se)place = 10 ** (@digits_max - 1 - @index)n = @number / place % 10@number -= n * placen = (n + 1) % 10 if mouse_y < @last_mouse_yn = (n + 9) % 10 if mouse_y > @last_mouse_y@number += n * placerefresh@last_mouse_y = mouse_yendendendclass Scene_Fileif @self_alias == nilalias self_update update@self_alias = trueenddef updatemouse_x, mouse_y = Mouse.get_mouse_posMouse.click_lockidx = 0for i in @savefile_windowstop_x = i.x + 16top_y = i.y + 16bottom_x = top_x + i.widthbottom_y = top_y + i.heightif (mouse_x > top_x) and (mouse_y > top_y) and(mouse_x < bottom_x) and (mouse_y < bottom_y)i.selected = trueif @file_index != idx @file_index = idx$game_system.se_play($data_system.cursor_se)end Mouse.click_unlockelsei.selected = falseendidx += 1endself_updateendend
                              class Arrow_Enemyif @self_alias == nilalias self_update update@self_alias = trueenddef updatemouse_x, mouse_y = Mouse.get_mouse_posif mouse_y >= (0) and mouse_y < (480/2)idx = 0for i in $game_troop.enemies doif i.exist?top_x = i.screen_x - self.oxtop_y = i.screen_y - self.oybottom_x = top_x + self.src_rect.widthbottom_y = top_y + self.src_rect.heightif (mouse_x > top_x - $敌人选框扩大) and (mouse_y > top_y - $敌人选框扩大) and(mouse_x < bottom_x + $敌人选框扩大) and (mouse_y < bottom_y + $敌人选框扩大)if @index != idx$game_system.se_play($data_system.cursor_se)@index = idxendendendidx += 1endself_updateelsif $shubiaoidx = 0for i in $game_party.actors doif i.exist?top_x = i.screen_x - self.oxtop_y = i.screen_y - self.oybottom_x = top_x + self.src_rect.widthbottom_y = top_y + self.src_rect.heightif (mouse_x > top_x - $角色选框扩大) and (mouse_y > top_y - $角色选框扩大) and(mouse_x < bottom_x + $角色选框扩大) and (mouse_y < bottom_y + $角色选框扩大)if @index


                              32楼2011-12-03 21:00
                              回复