pajodex

Utility: Goddess Blessing

Recommended Posts

Goddess Blessing


Quote
//===== rAthena Script =======================================
//= Goddess Offering
//=====  by: =============================
//= pajodex
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena Project (pajodex)
//===== Description: =========================================
/*
Goddess Offering
 
 Goddess Patron collects a certain item from players which
will serve as an offering. Once the goal is reached, Goddess
Blessing will activate for a certain time which gives off buff
to every players who clicks the Goddess Patron.
 This script is mainly for fun or quest. All Players will farm
for this certain item for offering to enable the goddess's blessing.
 
 Enjoy!
*/
//=====******** Note ********=================================
//= if you find bugs or problem, please do tell DM me at
//= Discord (pajodex#1328) or rAthena (pajodex)
//= open for suggestions
//===== Additional Comments: =================================
/* 1.0 - Initial release
*/
//=============================================================

Config Table:

function	goddessblessing	{
	// ----- Add your desired SCs below! -----
		sc_start SC_FOOD_STR_CASH,8640000,10;
		sc_start SC_FOOD_AGI_CASH,8640000,10;
		sc_start SC_FOOD_DEX_CASH,8640000,10;
		sc_start SC_FOOD_LUK_CASH,8640000,10;
		sc_start SC_FOOD_INT_CASH,8640000,10;
		sc_start SC_FOOD_VIT_CASH,8640000,10;
		sc_start SC_ITEMBOOST,8640000,50;
		sc_start SC_EXPBOOST,8640000,50;
	// -------- end of adding SC ---------
	return;
}
	
OnInit:
	// ---- Configuration starts ------
	.goal = 100000;					// Goal to reach
	.delay_tick = 60 * 60 * 4; 		// Blessing time active : 4hrs (seconds * mins * hours)
	.item_offering = 501; 			// Item to offer
	//----- Configuration ends-----

Special Credits for the Pseudocode by @Secrets

By downloading this file, you agree with my Terms of Service:

• You are not allowed remove my signature from any of the included files.
• You are not allowed sell, resell or in any form for money or rewards using my work.
• You are not allowed claim my work as yours.

• I have the rights to change all the terms above without prior notice. 

 


  • Submitter
  • Submitted
    02/21/2018
  • Category
  • Video
  • Content Author
    pajodex

 

  • Upvote 2
  • Love 1

Share this post


Link to post
Share on other sites

Hi! :D

At the end of the 4 hours, I compiled, turned on and off the emulator and it stayed that way. 

screenrAthena013.jpg.eaa54c6d6632de68a1462b6cb15336d5.jpg

Share this post


Link to post
Share on other sites
On ‎2‎/‎23‎/‎2018 at 4:34 AM, maken06 said:

Hi! :D

At the end of the 4 hours, I compiled, turned on and off the emulator and it stayed that way. 

screenrAthena013.jpg.eaa54c6d6632de68a1462b6cb15336d5.jpg

i will check it later, i think i missed something at OnInit part. Thanks for reporting!

edit: im not at home right now

UPDATE! : Link is available below while waiting for approval from moderator

  • Here is a new version and fix for the said bug by @maken06
  • Added Limit players to get buffed only once per activation

Goddess_Blessing_v1.1 : https://pastebin.com/7435vtNB

Updated to v1.2

  • Added @goddessreset command for hot-fix like the bug above.
  • Avoid changing ".delay_tick" once goddess blessing is activated.  

Goddess_Blessing_v1.2 : https://pastebin.com/Q2ARQBb5

Disregard the previous links and use this : https://pastebin.com/RCCCaL5X

  • 1st link (no hotfix)
  • 2nd link (all players can use @goddessreset command)
Edited by pajodex
updated to version 1.3
  • Love 1

Share this post


Link to post
Share on other sites

Dear Pajodex,

I want to know how can it manually reset itself after activated for 4 hours? 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...