if (Math.abs(x) > size || Math.abs(y) > size) return false; // inside square
if (Math.abs(x) < minSize && Math.abs(y) < minSize) return false; // outside min size square
if (Math.abs(x) == Math.abs(y)) return false; // not along the X-shape
return true;
case 'test': // pyramide
if (Math.abs(x) > size || Math.abs(y) > size) return false; // = add ("square_Size")
if (Math.abs(x) < minSize && Math.abs(y) < minSize) return false; // = add ("square_MinSize")
if (Math.abs(x) != Math.abs(y)) return true; // = take away ("cross_Size")
if (Math.abs(x) > size || Math.abs(x) < minSize) return true; // = take away ("cross_MinSize")
return false; // = needed if there was some "return true" BEFORE the end of Formula
return true; // = formula end
That worked.thx^^@Dopan replace 'dx' with just 'x' and 'dy' with 'y', and they should work pretty much the same as they did before.
i tried galvs plugin once and had the same problems, it probably doesnt work without an extra visual plugin that makes it compatible .The "SRPG Battle Map" (=Battle Mode Active) is made for 3 Frames and needs something to make it able to handle 8 Frames. And the "8 frames Plugins" only do that for Standart RPG projects,because they dont know or care about "SRPG_battleMaps"..Is there a way to use character sheets with more than 3 frames of animation while in battle and on-map battle off? I use GALV's Character Frames for my 8 frame characters and it works until the battle begins -- then the actor's sprite is just static even while moving.
EDIT: For anyone else wondering, Victor's extended character frames are compatible: https://forums.rpgmakerweb.com/index.php?threads/ve-character-frames.53112/
SRPG_MapBattle doesn't have any interaction with the character's frame count- SRPG_MapBattle_Motions does, but is coded to work with any number of frames, provided the plugin updates the base settings to show the frame number. Since Victor's plugin works, my theory is that Galv's plugin does something unusual when it changes the frame count- it's on my to-do list to figure out, but the list isn't short, so I can't guarantee when I'll get to it.i tried galvs plugin once and had the same problems, it probably doesnt work without an extra visual plugin that makes it compatible .The "SRPG Battle Map" (=Battle Mode Active) is made for 3 Frames and needs something to make it able to handle 8 Frames. And the "8 frames Plugins" only do that for Standart RPG projects,because they dont know or care about "SRPG_battleMaps"..
The most incompatibletys betwen SRPG and other Plugins are because of the different "BattleMap".
Most Plugins are only made for the Normal Map & Sideview Battles.
@ DTurtleSRPG_MapBattle doesn't have any interaction with the character's frame count- SRPG_MapBattle_Motions does, but is coded to work with any number of frames, provided the plugin updates the base settings to show the frame number. Since Victor's plugin works, my theory is that Galv's plugin does something unusual when it changes the frame count- it's on my to-do list to figure out, but the list isn't short, so I can't guarantee when I'll get to it.
Thank you!Looked into the addActionTimes tags today, found out they're handled in the same piece of code that prepares the battle, instead of afterward like I expected. As such, I made an update: SRPG_MapBattle is now compatible with the addActionTimes tag on skills and items.
@Flottos(from #559)
Hi, a small question. I plan to make a skill called "unstable thunder" which randomly hits one enemy within range. Anyone know if that is possible?
@ maliyanaIs there a way to restrict where the cursor can move? For example, preventing the cursor from moving onto a particular tile, terrain, or general area of a map.
The cursor is just the same as the normal character moving around on the map with "through" set to "true". So any plugin that can restrict a player character with "through" movement would work, if you find one- otherwise, not really.Is there a way to restrict where the cursor can move? For example, preventing the cursor from moving onto a particular tile, terrain, or general area of a map.
@ ses1715I have a question
If actor use aoe skill, actor consume mp for each target
For example, if actor use mp cost 3 skill and hit 3 enemy, that skill consume 3 x 3 = 9 mp
(...)updated SRPG_AoE to only add more actions once, using the same logic as only paying the skill / item cost once. (...)
Of course I used newest version of srpg_aoe.js and tested your 1.71 version.@ ses1715
This Sounds like an older Problem (a Problem of older Plugin Version)..pls download the Newest Version of SRPG_AoE.js and look if the Problem is solved..
(You can also find the Newest Versions of all SRPG plugins in the UpdatedSRPG_Demo 1.7)
@ses1715Of course I used newest version of srpg_aoe.js and tested your 1.71 version.
Please test your 1.71 version. aoe skill consume mp for each target.
for example <srpgAreaRange: 1> skill's mp cost 1, if hit the 5 enemy, it consume 5 mp
I used your 1.71 version and made gif file but that is too large so occured error. i wanted you see this error in your 1.71 version but failed... it is so frustrating
please believe me... please...